All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m68k: skip futex_atomic_cmpxchg_inatomic() test
@ 2014-03-04  7:28 Finn Thain
  2014-03-05 19:01   ` Geert Uytterhoeven
  0 siblings, 1 reply; 7+ messages in thread
From: Finn Thain @ 2014-03-04  7:28 UTC (permalink / raw)
  To: Geert Uytterhoeven, Greg Ungerer; +Cc: linux-m68k


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@telegraphics.com.au>

---

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-06 10:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04  7:28 [PATCH] m68k: skip futex_atomic_cmpxchg_inatomic() test Finn Thain
2014-03-05 19:01 ` Geert Uytterhoeven
2014-03-05 19:01   ` Geert Uytterhoeven
2014-03-05 21:54   ` Thomas Gleixner
2014-03-05 23:29     ` Finn Thain
2014-03-06 10:37       ` [tip:core/locking] m68k: Skip " tip-bot for Finn Thain
2014-03-05 21:54   ` [PATCH] m68k: skip " Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.