projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arch: Mass conversion of smp_mb__*()
[firefly-linux-kernel-4.4.55.git]
/
net
/
core
/
link_watch.c
diff --git
a/net/core/link_watch.c
b/net/core/link_watch.c
index 9c3a839322baccbf69079747a4588079ce46d029..bd0767e6b2b31747a08d02a1f45f7dd733be9a4f 100644
(file)
--- a/
net/core/link_watch.c
+++ b/
net/core/link_watch.c
@@
-147,7
+147,7
@@
static void linkwatch_do_dev(struct net_device *dev)
* Make sure the above read is complete since it can be
* rewritten as soon as we clear the bit below.
*/
- smp_mb__before_
clear_bit
();
+ smp_mb__before_
atomic
();
/* We are about to handle this device,
* so new events can be accepted