arch: Mass conversion of smp_mb__*()

Mostly scripted conversion of the smp_mb__* barriers.

Signed-off-by: Peter Zijlstra <[email protected]>
Acked-by: Paul E. McKenney <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Peter Zijlstra 2014-03-17 18:06:10 +01:00 • committed by Ingo Molnar
commit 4e857c58ef
106 changed files with 284 additions and 288 deletions

View file

@ -139,9 +139,9 @@ void w1_family_get(struct w1_family *f)
void __w1_family_get(struct w1_family *f)
{
smp_mb__before_atomic_inc();
smp_mb__before_atomic();
atomic_inc(&f->refcnt);
smp_mb__after_atomic_inc();
smp_mb__after_atomic();
}
EXPORT_SYMBOL(w1_unregister_family);