From: Kaz Kojima Date: Mon, 18 Jun 2007 04:58:32 +0000 (+0900) Subject: sh: Fix up futex implementation. X-Git-Tag: v2.6.23-rc1~785^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1d4c9c3761ca8db52b647c6a4ba50771900a12;p=pandora-kernel.git sh: Fix up futex implementation. SH is able to support a complete futex implementation on UP by way of gUSA. However, IRQ toggling must be done for the old CPUs that don't have movli.l/movco.l (LL/SC) instructions. Provide a default implementation that does this, so it's possible to optimize for newer CPUs. Follows the same scheme as the current asm-sh/atomic-*.h headers. Signed-off-by: Kaz Kojima Signed-off-by: Paul Mundt --- Reading git-diff-tree failed