Gitweb: http://git.kernel.org/linus/f01789c68882d846946cf9b972cf090b283d1f73 Commit: f01789c68882d846946cf9b972cf090b283d1f73 Parent: 300df7dc89cc276377fc020704e34875d5c473b6 Author: Paul Mundt <lethal@linux-sh.org> AuthorDate: Wed Jun 17 10:43:13 2009 +0900 Committer: Paul Mundt <lethal@linux-sh.org> CommitDate: Wed Jun 17 10:43:13 2009 +0900 sh: Use generic atomic64_t implementation. Signed-off-by: Paul Mundt <lethal@linux-sh.org> --- arch/sh/Kconfig | 1 + arch/sh/include/asm/atomic.h | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 586cd04..a6f9eaa 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 157c320..e8e7813 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 <asm-generic/atomic-long.h> +#include <asm-generic/atomic64.h> + #endif /* __ASM_SH_ATOMIC_H */ -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
