diff options
author | Will Deacon <[email protected]> | 2019-10-30 16:50:10 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-07-21 10:50:35 +0100 |
commit | d6462858851549c62d73eaa14b31132b0f32d6b6 (patch) | |
tree | 058dbd3fd192d8e00b621b1fbbb9e4995c37093b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b78b331a3f5c0773171dadd6bbfa2a2242b45604 (diff) |
alpha: Override READ_ONCE() with barriered implementation
Rather then relying on the core code to use smp_read_barrier_depends()
as part of the READ_ONCE() definition, instead override __READ_ONCE()
in the Alpha code so that it generates the required mb() and then
implement smp_load_acquire() using the new macro to avoid redundant
back-to-back barriers from the generic implementation.
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions