aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/irq.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2012-08-16 07:49:31 +0000
committerArnd Bergmann <[email protected]>2012-10-09 17:07:43 +0200
commit5c5b06c3c09510a2e90f6453266823dc6f940c70 (patch)
tree8ddec9381859161394858bc255d14976bcaed80d /arch/arm/kernel/irq.c
parent0e51793e162ca432fc5f04178cf82b80a92c2659 (diff)
ARM: kprobes: make more tests conditional
The mls instruction is not available in ARMv6K or below, so we should make the test conditional on at least ARMv7. ldrexd/strexd are available in ARMv6K or ARMv7, which we can test by checking the CONFIG_CPU_32v6K symbol. /tmp/ccuMTZ8D.s: Assembler messages: /tmp/ccuMTZ8D.s:22188: Error: selected processor does not support ARM mode `mls r0,r1,r2,r3' /tmp/ccuMTZ8D.s:22222: Error: selected processor does not support ARM mode `mlshi r7,r8,r9,r10' /tmp/ccuMTZ8D.s:22252: Error: selected processor does not support ARM mode `mls lr,r1,r2,r13' Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Jon Medhurst <[email protected]> Acked-by: Nicolas Pitre <[email protected]> Cc: Russell King <[email protected]> Cc: Leif Lindholm <[email protected]>
Diffstat (limited to 'arch/arm/kernel/irq.c')
0 files changed, 0 insertions, 0 deletions