summaryrefslogtreecommitdiffstats
path: root/kernel/gcov
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2019-12-19 17:11:43 +0000
committerWill Deacon <will@kernel.org>2020-04-16 12:28:35 +0100
commit10223c5286f7389c022e9e91f12c49918790cf36 (patch)
tree354fe951052df505cbc10520dbd538596f57389e /kernel/gcov
parent549887271a961a79375b2a55bf675515b9107778 (diff)
downloadlinux-10223c5286f7389c022e9e91f12c49918790cf36.tar.bz2
arm64: barrier: Use '__unqual_scalar_typeof' for acquire/release macros
Passing volatile-qualified pointers to the arm64 implementations of the load-acquire/store-release macros results in a re-load from the stack and a bunch of associated stack-protector churn 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> Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'kernel/gcov')
0 files changed, 0 insertions, 0 deletions