aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAndrea Parri <[email protected]>2018-02-22 09:24:29 +0000
committerIngo Molnar <[email protected]>2018-02-23 07:38:15 +0000
commit79d442461df7478cdd0c50d9b8a76f431f150fa3 (patch)
tree53ec8c34409ef60806faae9ee2bdff17c301875f /scripts/gcc-plugins/cyc_complexity_plugin.c
parentlocking/xchg/alpha: Add unconditional memory barrier to cmpxchg() (diff)
downloadkernel-79d442461df7478cdd0c50d9b8a76f431f150fa3.tar.gz
kernel-79d442461df7478cdd0c50d9b8a76f431f150fa3.zip
locking/xchg/alpha: Clean up barrier usage by using smp_mb() in place of __ASM__MB
Replace each occurrence of __ASM__MB with a (trailing) smp_mb() in xchg(), cmpxchg(), and remove the now unused __ASM__MB definitions; this improves readability, with no additional synchronization cost. Suggested-by: Will Deacon <[email protected]> Signed-off-by: Andrea Parri <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Cc: Alan Stern <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Matt Turner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Richard Henderson <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions