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
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-07-08 11:11:20 -04:00
2011-07-20 15:04:35 -04:00
2011-07-20 15:04:35 -04:00
2009-07-10 15:01:49 -04:00
2011-07-20 15:04:35 -04:00
2011-01-05 16:07:12 -05:00
2011-05-16 14:25:29 -04:00
2011-07-05 15:26:53 -04:00
2011-07-20 15:04:35 -04:00
2011-03-31 11:26:23 -03:00
2011-07-20 15:04:35 -04:00
2011-07-08 11:42:21 -04:00