Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c4ee4e2 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

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

parent 86b37860
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
#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