diff options
author | Sebastian Ott <[email protected]> | 2017-10-26 16:36:45 +0200 |
---|---|---|
committer | Martin Schwidefsky <[email protected]> | 2017-11-03 08:00:28 +0100 |
commit | 648a6f4495b183d4e0d8983ff768facb9a2185bb (patch) | |
tree | a8ea80bbc79bfe42948ecf2ce46ee2c754b31c76 /tools/perf/util/trace-event-scripting.c | |
parent | 2a2d7befd40c95fd0d27d14edd0ec3b479fcf21f (diff) |
s390/qdio: use atomic_cmpxchg
qdio uses atomic_read to find an unused indicator and atomic_set to
flag it as used. This could lead to multiple users getting the same
indicator. Use atomic_cmpxchg instead.
Signed-off-by: Sebastian Ott <[email protected]>
Acked-by: Ursula Braun <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions