aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2019-11-04 08:08:30 -0800
committerPaul E. McKenney <[email protected]>2020-01-24 10:33:51 -0800
commit844a378de3372c923909681706d62336d702531e (patch)
tree2519d04a043f31a4929b586c5c2441d283aa3e41 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent7441e7661d6586ae36329b7956e4d713d81e9903 (diff)
srcu: Apply *_ONCE() to ->srcu_last_gp_end
The ->srcu_last_gp_end field is accessed from any CPU at any time by synchronize_srcu(), so non-initialization references need to use READ_ONCE() and WRITE_ONCE(). This commit therefore makes that change. Reported-by: [email protected] Acked-by: Marco Elver <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions