ARM: remove __bad_xchg definition
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 19 May 2015 12:39:05 +0000 (13:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 Jun 2015 08:58:19 +0000 (09:58 +0100)
commit31cd08c3a1db4b3164567a2a424b5e5dba6ce7a3
tree492379ed8dff6c81b8c2b84ff9268414bcbd77d9
parent45b0fa09c6e47c02ac0a08bd2b3c6a73480222e0
ARM: remove __bad_xchg definition

We want link errors if xchg() is called for a variable size we do not
support.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/cmpxchg.h
arch/arm/kernel/traps.c