aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/mm
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@rr.iij4u.or.jp>2007-06-18 00:58:32 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-06-18 00:58:32 -0400
commitfc1d4c9c3761ca8db52b647c6a4ba50771900a12 (patch)
tree205ec8220fac5ee77e3430bb0248426eb92effe8 /arch/sh/mm
parenteee4c4694fb2936258244bb391e6eec07f3eea8e (diff)
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 <kkojima@rr.iij4u.or.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions