[ARM] Clean up save_and_disable_irqs macro and allow use of ARMv6 CPSID
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 9 Nov 2005 15:04:22 +0000 (15:04 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Nov 2005 15:04:22 +0000 (15:04 +0000)
commit59d1ff3bfb56d9b8cf3ec864857e6a4dfd9d2dba
treee70623b924a8859182dc3326b6d5f7a5b9271504
parentbe6eb9b79f99e652a0827a475c4daa02ecef221f
[ARM] Clean up save_and_disable_irqs macro and allow use of ARMv6 CPSID

save_and_disable_irqs does not need to use mov + msr (which was
introduced to work around a documentation bug which was propagated
into binutils.)  Use msr with an immediate constant, and if we're
building for ARMv6 or later, use the new CPSID instruction.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/lib/bitops.h
include/asm-arm/assembler.h