Skip to contentSkip to conversation

m32r: Allow use of atomic64

PATCH New Steven Rostedt 1 participant 1 message Oct 13, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 m32r: Allow use of atomic64

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.

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