diff options
author | Will Deacon <[email protected]> | 2019-12-19 17:11:43 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-04-16 12:28:35 +0100 |
commit | 10223c5286f7389c022e9e91f12c49918790cf36 (patch) | |
tree | 354fe951052df505cbc10520dbd538596f57389e /kernel/gcov/gcc_3_4.c | |
parent | 549887271a961a79375b2a55bf675515b9107778 (diff) |
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 <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_3_4.c')
0 files changed, 0 insertions, 0 deletions