summaryrefslogtreecommitdiff
path: root/arch/arm/lib/bitops.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-10 11:05:56 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-10 11:05:56 -0700
commit70679ee34f244499cf1c6775647895123eb1a326 (patch)
treef072c008a577663f2e4f3385ed854e0dceaffe34 /arch/arm/lib/bitops.h
parent435d444a532af652ba8bdfd4db4424982bea2f69 (diff)
parentb876386ee47e3ac9375a36e9107b8bd32e0599fc (diff)
Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp
Diffstat (limited to 'arch/arm/lib/bitops.h')
-rw-r--r--arch/arm/lib/bitops.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h
index 2036ff15bda9..64a988c1ad44 100644
--- a/arch/arm/lib/bitops.h
+++ b/arch/arm/lib/bitops.h
@@ -1,4 +1,6 @@
-#if __LINUX_ARM_ARCH__ >= 6
+#include <linux/config.h>
+
+#if __LINUX_ARM_ARCH__ >= 6 && defined(CONFIG_CPU_MPCORE)
.macro bitop, instr
mov r2, #1
and r3, r0, #7 @ Get bit offset