summaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/pgtsun4.h
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2008-07-31 00:40:50 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-31 00:40:50 +0200
commitd72609e17fd93bb2f7e0f7e1bdc70b6d20e43843 (patch)
treed2b2ec57bbee2759e6cfdbc4269211dad888e79f /arch/sparc/include/asm/pgtsun4.h
parentsparc: merge of_platform_{32,64}.h (diff)
downloadlinux-d72609e17fd93bb2f7e0f7e1bdc70b6d20e43843.tar.xz
linux-d72609e17fd93bb2f7e0f7e1bdc70b6d20e43843.zip
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>
Diffstat (limited to 'arch/sparc/include/asm/pgtsun4.h')
0 files changed, 0 insertions, 0 deletions