[PATCH] m68k: skip futex_atomic_cmpxchg_inatomic() test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




The futex_atomic_cmpxchg_inatomic() test in futex_init() causes a fatal 
exception on 68030 (and presumably 68020 also).

Signed-off-by: Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx>

---

Ingo Molnar has committed Heiko Carstens' patch to the -tip repo:
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=03b8c7b623c80af264c4c8d6111e5c6289933666

I downloaded that patch and tested it along with the patch below, and 
together these fix the boot crash.

What's the best way to merge this? Perhaps it should be sent on to the 
-tip maintainers?

Index: linux-m68k/arch/m68k/Kconfig
===================================================================
--- linux-m68k.orig/arch/m68k/Kconfig
+++ linux-m68k/arch/m68k/Kconfig
@@ -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
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux