ARM: Use a definition for the userspace cmpxchg emulation syscall
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 9 Nov 2009 23:53:29 +0000 (23:53 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Nov 2009 08:41:12 +0000 (08:41 +0000)
commitcc20d42986d5807cbe4f5c7c8e3dab2e59ea0db3
treeaa71962250e2548a5079b5556436d924e14292fe
parentbfd2e29f04e5f048ea62677811d1244badd6661e
ARM: Use a definition for the userspace cmpxchg emulation syscall

Use a definition for the cmpxchg SWI instead of hard-coding the number.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/include/asm/unistd.h
arch/arm/kernel/entry-armv.S
arch/arm/kernel/traps.c