Skip to content
Commit 59d1ff3b authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent be6eb9b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment