From: Stephen Hemminger Date: Mon, 1 Aug 2011 16:19:00 +0000 (+0000) Subject: rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER X-Git-Tag: v3.2-rc1~129^2~584 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9b3cd7f323b2e57593e7215362a7b02fc933e3a;p=pandora-kernel.git 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) // Signed-off-by: Stephen Hemminger Acked-by: Paul E. McKenney Signed-off-by: David S. Miller --- Reading git-diff-tree failed