linux-stable-rt/net/caif
Stephen Hemminger a9b3cd7f32 rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
When assigning a NULL value to an RCU protected pointer, no barrier
is needed. The rcu_assign_pointer, used to handle that but will soon
change to not handle the special case.

Convert all rcu_assign_pointer of NULL value.

//smpl
@@ expression P; @@

- rcu_assign_pointer(P, NULL)
+ RCU_INIT_POINTER(P, NULL)

// </smpl>

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-02 04:29:23 -07:00
..
Kconfig
Makefile caif: prepare support for namespaces 2011-05-15 17:45:55 -04:00
caif_dev.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00
caif_socket.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfcnfg.c caif: Fixes freeze on Link layer removal. 2011-05-22 20:11:47 -04:00
cfctrl.c caif: Fix freezes when running CAIF loopback device 2011-05-22 20:11:48 -04:00
cfdbgl.c
cfdgml.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cffrml.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfmuxl.c rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER 2011-08-02 04:29:23 -07:00
cfpkt_skbuff.c caif: remove unesesarry exports 2011-05-15 17:45:56 -04:00
cfrfml.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfserl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfsrvl.c caif: Move refcount from service layer to sock and dev. 2011-05-15 17:45:55 -04:00
cfutill.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
cfveil.c caif: Handle dev_queue_xmit errors. 2011-05-15 17:45:56 -04:00
cfvidl.c caif: Don't resend if dev_queue_xmit fails. 2011-04-11 15:08:48 -07:00
chnl_net.c Remove redundant linux/version.h includes from net/ 2011-06-21 16:03:17 -07:00