• Russell King's avatar
    ARM: Fix !kuser helpers case · 1b16c4bc
    Russell King authored
    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: default avatarTomasz Figa <tomasz.figa@gmail.com>
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    1b16c4bc
entry-armv.S 27.7 KB