diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-11-25 12:54:30 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-11-27 12:55:15 +0100 |
commit | 7726b55b5d6c22dc0e66570597bf6e43d410d093 (patch) | |
tree | bd6e91b4775b1cb8da0912a85e38c0b76e1b6ee1 /tools/perf/scripts/python/task-analyzer.py | |
parent | ff123eb7741638d55abf82fac090bb3a543c1e74 (diff) |
s390/ap: Replace xchg() with WRITE_ONCE()
The result of xchg() is not used, and in addition it is used on a one byte
memory area which leads to inefficient code.
Use WRITE_ONCE() instead to achieve the same result with much less
generated code.
Acked-by: Harald Freudenberger <freude@linux.ibm.com>
Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions