summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/bitops.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-11-25 21:22:02 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 18:42:54 +0900
commit0d5bbe0bc2583c4dc06ea00adccf07c3acd1481d (patch)
treeb57778f4cded7f15f1d8f6e590836e04ddfc6200 /arch/sh/include/asm/bitops.h
parent8bcc5c1c332af97ba731f99fda780a47911e476f (diff)
sh: Provide optimized non-atomic bitops for SH-2A.
This ties in the new SH-2A 32-bit non-atomic bitops. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/bitops.h')
-rw-r--r--arch/sh/include/asm/bitops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/include/asm/bitops.h b/arch/sh/include/asm/bitops.h
index 9b141e04d10b..ebe595b7ab1f 100644
--- a/arch/sh/include/asm/bitops.h
+++ b/arch/sh/include/asm/bitops.h
@@ -13,6 +13,9 @@
#ifdef CONFIG_GUSA_RB
#include <asm/bitops-grb.h>
+#elif defined(CONFIG_CPU_SH2A)
+#include <asm-generic/bitops/atomic.h>
+#include <asm/bitops-op32.h>
#elif defined(CONFIG_CPU_SH4A)
#include <asm/bitops-llsc.h>
#else