[Linux-m32r:00353] [PATCH] m32r: Allow use of atomic64

Steven Rostedt rostedt at goodmis.org
Thu Oct 13 23:40:16 JST 2011


Atomic64 is now a valid type in Linux. Archs that do not have their own
version of atomic64 operators are to use the generic operations.

The m32r architecture needs to define GENERIC_ATOMIC64.

Reported-by: Ingo Molnar <mingo at elte.hu>
Link: http://lkml.kernel.org/r/20111013085936.GA13046@elte.hu
Signed-off-by: Steven Rostedt <rostedt at goodmis.org>

diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig
index b92b944..6c4e9aa 100644
--- a/arch/m32r/Kconfig
+++ b/arch/m32r/Kconfig
@@ -10,6 +10,7 @@ config M32R
 	select HAVE_GENERIC_HARDIRQS
 	select GENERIC_IRQ_PROBE
 	select GENERIC_IRQ_SHOW
+	select GENERIC_ATOMIC64
 
 config SBUS
 	bool





More information about the linux-m32r mailing list