m68k: Skip futex_atomic_cmpxchg_inatomic() test
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 5 Mar 2014 23:29:27 +0000 (10:29 +1100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 6 Mar 2014 10:35:17 +0000 (11:35 +0100)
Skip the futex_atomic_cmpxchg_inatomic() test in futex_init(). It causes a
fatal exception on 68030 (and presumably 68020 also).

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1403061006440.5525@nippy.intranet
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/m68k/Kconfig

index dbdd223..b2e3229 100644 (file)
@@ -17,6 +17,7 @@ config M68K
        select FPU if MMU
        select ARCH_WANT_IPC_PARSE_VERSION
        select ARCH_USES_GETTIMEOFFSET if MMU && !COLDFIRE
+       select HAVE_FUTEX_CMPXCHG if MMU && FUTEX
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_REL
        select MODULES_USE_ELF_RELA