summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/atomic.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-17 10:43:13 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-17 10:43:13 +0900
commitf01789c68882d846946cf9b972cf090b283d1f73 (patch)
treee54f1903e9f67fa8e7681e54c1dbec8a8ab5cf9b /arch/sh/include/asm/atomic.h
parent300df7dc89cc276377fc020704e34875d5c473b6 (diff)
downloadop-kernel-dev-f01789c68882d846946cf9b972cf090b283d1f73.zip
op-kernel-dev-f01789c68882d846946cf9b972cf090b283d1f73.tar.gz
sh: Use generic atomic64_t implementation.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/atomic.h')
-rw-r--r--arch/sh/include/asm/atomic.h2
1 files changed, 2 insertions, 0 deletions
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 */
OpenPOWER on IntegriCloud