From: Monam Agarwal Date: Sat, 22 Mar 2014 06:50:56 +0000 (+0530) Subject: arch/powerpc: Use RCU_INIT_POINTER(x, NULL) in platforms/cell/spu_syscalls.c X-Git-Tag: v3.15-rc1~43^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282efb7023d482632f2fa567163362841423a1ac;p=pandora-kernel.git arch/powerpc: Use RCU_INIT_POINTER(x, NULL) in platforms/cell/spu_syscalls.c Here rcu_assign_pointer() is ensuring that the initialization of a structure is carried out before storing a pointer to that structure. So, rcu_assign_pointer(p, NULL) can always safely be converted to RCU_INIT_POINTER(p, NULL). Signed-off-by: Monam Agarwal Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed