summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-12-19 19:22:56 +0300
committerWill Deacon <will@kernel.org>2020-04-16 14:28:34 +0300
commit549887271a961a79375b2a55bf675515b9107778 (patch)
tree94e5eacf68de2e01130f8f9767dbff130e8a3de7 /tools/perf/scripts/python/mem-phys-addr.py
parentdee081bf8f824cabeb7c7495367d5dad0a444eb1 (diff)
downloadlinux-549887271a961a79375b2a55bf675515b9107778.tar.xz
locking/barriers: Use '__unqual_scalar_typeof' for load-acquire macros
Passing volatile-qualified pointers to the asm-generic implementations of the load-acquire macros results in a re-load from the stack due to the temporary result variable inheriting the volatile semantics thanks to the use of 'typeof()'. Define these temporary variables using 'unqual_scalar_typeof' to drop the volatile qualifier in the case that they are scalar types. Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions