kernel-ark/arch/sparc
Mikael Pettersson d72609e17f sparc64: FUTEX_OP_ANDN fix
Correct sparc64's implementation of FUTEX_OP_ANDN to do a
bitwise negate of the oparg parameter before applying the
AND operation. All other archs that support FUTEX_OP_ANDN
either negate oparg explicitly (frv, ia64, mips, sh, x86),
or do so indirectly by using an and-not instruction (powerpc).
Since sparc64 has and-not, I chose to use that solution.

I've not found any use of FUTEX_OP_ANDN in glibc so the
impact of this bug is probably minor. But other user-space
components may try to use it so it should still get fixed.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-07-30 15:40:50 -07:00
..
boot sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
include/asm sparc64: FUTEX_OP_ANDN fix 2008-07-30 15:40:50 -07:00
kernel sparc: Add call to tracehook_signal_handler(). 2008-07-27 17:33:44 -07:00
lib sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
math-emu sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
mm mm: drop unneeded pgdat argument from free_area_init_node() 2008-07-24 10:47:16 -07:00
oprofile Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
prom sparc: remove CVS keywords 2008-05-20 00:33:44 -07:00
defconfig sparc: Add kgdb support. 2008-04-29 02:38:50 -07:00
Kconfig sparc: Set CONFIG_HAVE_ARCH_TRACEHOOK 2008-07-27 17:34:02 -07:00
Kconfig.debug [SPARC32]: Add irqflags.h to sparc32 and use it from generic code. 2007-10-13 21:53:11 -07:00
Makefile sparc32: pass -m32 when building vmlinux.lds 2008-07-22 15:47:17 -07:00