summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMonam Agarwal <monamagarwal123@gmail.com>2014-03-22 10:50:56 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-04-09 06:53:40 +0400
commit282efb7023d482632f2fa567163362841423a1ac (patch)
treeaa8f679db9bc2a13e0e44f6e0ef2b8d028e412be /samples
parentbfd25d72abc62a89f9c9c41417da998adcf2578e (diff)
downloadlinux-282efb7023d482632f2fa567163362841423a1ac.tar.xz
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 <monamagarwal123@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions