microblaze: kill incorrect __bad_xchg definition
authorArnd Bergmann <arnd@arndb.de>
Sun, 10 May 2009 14:26:52 +0000 (14:26 +0000)
committerMichal Simek <monstr@monstr.eu>
Thu, 21 May 2009 13:56:05 +0000 (15:56 +0200)
commit70f4cc29350222ff6baf70265f6482fc01565d48
treefb21b96aeebb106e4d6cee8ce1c19e299e54cde6
parent353b431bafc42ed8782c7aec7fb819ca4e385ab1
microblaze: kill incorrect __bad_xchg definition

The whole point of the __bad_xchg declaration in
system.h is to give a linker error when a variable
of invalid size is passed to __xchg. The out
of line definition in traps.c defeats this purpose
and does not any value, so remove it here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/traps.c