diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-12-01 15:47:24 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-12-01 15:47:24 +0000 |
commit | 00b4c90787298349b799069360ced9ca843153dc (patch) | |
tree | cb135bdb9a408ec771c862caae5d86a2d6754861 /Makefile | |
parent | df2f5e721ed36e21da27e1f415c71ba0e20f31b5 (diff) |
[ARM SMP] Use event instructions for spinlocks
ARMv6K CPUs have SEV (send event) and WFE (wait for event) instructions
which allow the CPU clock to be suspended until another CPU issues a
SEV, rather than spinning on the lock wasting power. Make use of these
instructions.
Note that WFE does not wait if an event has been sent since the last WFE
cleared the event status, so although it may look racy, the instruction
implementation ensures that these are dealt with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions