git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c21522
)
net: treewide use of RCU_INIT_POINTER
author
Eric Dumazet
<eric.dumazet@gmail.com>
Wed, 23 Nov 2011 07:09:32 +0000
(07:09 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Nov 2011 23:48:19 +0000
(18:48 -0500)
rcu_assign_pointer(ptr, NULL) can be safely replaced by
RCU_INIT_POINTER(ptr, NULL)
(old rcu_assign_pointer() macro was testing the NULL value and could
omit the smp_wmb(), but this had to be removed because of compiler
warnings)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
No differences found