aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorChristian Borntraeger <[email protected]>2014-11-25 10:44:26 +0000
committerChristian Borntraeger <[email protected]>2014-12-18 08:54:40 +0000
commit488beef1440e845751365202faace2465840ea98 (patch)
treef1ef574626d0253813e9436fe7a114cf48af19a5 /tools/perf/builtin-annotate.c
parentarm64/spinlock: Replace ACCESS_ONCE READ_ONCE (diff)
downloadkernel-488beef1440e845751365202faace2465840ea98.tar.gz
kernel-488beef1440e845751365202faace2465840ea98.zip
arm/spinlock: Replace ACCESS_ONCE with READ_ONCE
ACCESS_ONCE does not work reliably on non-scalar types. For example gcc 4.6 and 4.7 might remove the volatile tag for such accesses during the SRA (scalar replacement of aggregates) step (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145) Change the spinlock code to replace ACCESS_ONCE with READ_ONCE. Signed-off-by: Christian Borntraeger <[email protected]> Acked-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions