Skip to content

Commit

Permalink
[ARM SMP] Only enable V6K instructions on V6 MP core CPUs
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Aug 10, 2005
1 parent 86b3786 commit 3c4ee4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/lib/bitops.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3c4ee4e

Please sign in to comment.