diff options
author | Russell King <[email protected]> | 2011-01-15 16:22:12 +0000 |
---|---|---|
committer | Russell King <[email protected]> | 2011-02-02 21:23:25 +0000 |
commit | 000d9c78eb5cd7f18e3d6a381d66e606bc9b8196 (patch) | |
tree | 4a142d5c4d4b589ac696f3a6a932ba1965d29ed1 /tools/perf/util/trace-event-scripting.c | |
parent | 6323f0ccedf756dfe5f46549cec69a2d6d97937b (diff) |
ARM: v6k: remove CPU_32v6K dependencies in asm/spinlock.h
SMP requires at least the ARMv6K extensions to be present, so if we're
running on SMP, the WFE and SEV instructions must be available.
However, when we run on UP, the v6K extensions may not be available,
and so we don't want WFE/SEV to be in the instruction stream. Use the
SMP alternatives infrastructure to replace these instructions with NOPs
if we build for SMP but run on UP.
Tested-by: Tony Lindgren <[email protected]>
Tested-by: Sourav Poddar <[email protected]>
Tested-by: Will Deacon <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions