diff options
author | Michael S. Tsirkin <[email protected]> | 2016-01-08 09:23:58 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-01-12 20:47:02 +0200 |
commit | 9e3f84ce416663c84a191cb3ead300fc1a4adadc (patch) | |
tree | 8c4537b92a1498af2599787cfc8622cd24a0ab20 /tools/perf/scripts/python/stackcollapse.py | |
parent | 3226aad81aa670015a59e51458a0deb2d3bcb600 (diff) |
sh: move xchg_cmpxchg to a header by itself
Looks like future sh variants will support a 4-byte cas which will be
used to implement 1 and 2 byte xchg.
This is exactly what we do for llsc now, move the portable part of the
code into a separate header so it's easy to reuse.
Suggested-by: Rich Felker <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions