From f01789c68882d846946cf9b972cf090b283d1f73 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Wed, 17 Jun 2009 10:43:13 +0900 Subject: [PATCH] sh: Use generic atomic64_t implementation. Signed-off-by: Paul Mundt --- arch/sh/Kconfig | 1 + arch/sh/include/asm/atomic.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 586cd045e2db..a6f9eaa6e0bb 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -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 diff --git a/arch/sh/include/asm/atomic.h b/arch/sh/include/asm/atomic.h index 157c320272cb..e8e78137c6f5 100644 --- a/arch/sh/include/asm/atomic.h +++ b/arch/sh/include/asm/atomic.h @@ -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 +#include + #endif /* __ASM_SH_ATOMIC_H */