tree 0b1512bf41bde9d89c4076b305df7ceab9db2465
parent 86b3786078d63242d3194ffc58ae8dae1d1bbef3
author Russell King <[EMAIL PROTECTED]> Wed, 10 Aug 2005 14:41:45 +0100
committer Russell King <[EMAIL PROTECTED]> Wed, 10 Aug 2005 14:41:45 +0100

[ARM SMP] Only enable V6K instructions on V6 MP core CPUs

Signed-off-by: Russell King <[EMAIL PROTECTED]>

 arch/arm/lib/bitops.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h
--- 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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to