]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sh: Use generic atomic64_t implementation.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 17 Jun 2009 01:43:13 +0000 (10:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Jun 2009 01:43:13 +0000 (10:43 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/atomic.h

index 586cd045e2db213df61a3a9a46a3aaf2ecd08b8d..a6f9eaa6e0bb5963afb7679ae534cf8e42bd10a0 100644 (file)
@@ -16,6 +16,7 @@ config SUPERH
        select HAVE_ARCH_TRACEHOOK
        select HAVE_DMA_API_DEBUG
        select RTC_LIB
+       select GENERIC_ATOMIC64
        help
          The SuperH is a RISC processor targeted for use in embedded systems
          and consumer electronics; it was also used in the Sega Dreamcast
index 157c320272cbb256b8e13915534ba80bd66227ac..e8e78137c6f556650e45c4c4c1c064836c4be61c 100644 (file)
@@ -85,4 +85,6 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u)
 #define smp_mb__after_atomic_inc()     barrier()
 
 #include <asm-generic/atomic-long.h>
+#include <asm-generic/atomic64.h>
+
 #endif /* __ASM_SH_ATOMIC_H */