ARM: Fix !kuser helpers case
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 6 Aug 2013 08:48:42 +0000 (09:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 7 Aug 2013 13:00:11 +0000 (14:00 +0100)
commit1b16c4bcf80e319b2226a886b72b8466179c8e3a
treeecd6ff3330c0682985225eb7bc3d1866f6cfd863
parent1d0bbf428924f94867542d49d436cf254b9dbd06
ARM: Fix !kuser helpers case

Fix yet another build failure caused by a weird set of configuration
settings:

  LD      init/built-in.o
arch/arm/kernel/built-in.o: In function `__dabt_usr':
/home/tom3q/kernel/arch/arm/kernel/entry-armv.S:377: undefined reference to `kuser_cmpxchg64_fixup'
arch/arm/kernel/built-in.o: In function `__irq_usr':
/home/tom3q/kernel/arch/arm/kernel/entry-armv.S:387: undefined reference to `kuser_cmpxchg64_fixup'

caused by:
CONFIG_KUSER_HELPERS=n
CONFIG_CPU_32v6K=n
CONFIG_NEEDS_SYSCALL_FOR_CMPXCHG=n

Reported-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S