diff options
author | Will Deacon <[email protected]> | 2010-01-20 19:05:07 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2010-02-15 21:39:50 +0000 |
commit | 24b44a66fa240f6fc63343623ca730d39754047e (patch) | |
tree | c271eea37b9559a06b11eb87743856be9a254663 /tools/perf/scripts/python/check-perf-trace.py | |
parent | a9221de66d2d94e6e34c3f56bbdd744935020737 (diff) |
ARM: 5889/1: Add atomic64 routines for ARMv6k and above.
In preparation for perf-events support, ARM needs to support atomic64_t
operations. v6k and above support the ldrexd and strexd instructions to
do just that.
This patch adds atomic64 support to the ARM architecture. v6k and above
make use of new instructions whilst older cores fall back on the generic
solution using spinlocks. If and when v7-M cores are supported by Linux,
they will need to fall back on the spinlock implementation too.
Signed-off-by: Will Deacon <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions