mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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:
parent
1b15611e1c
commit
4e857c58ef
106 changed files with 284 additions and 288 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue