From: Monam Agarwal Date: Sat, 22 Mar 2014 06:58:10 +0000 (+0530) Subject: arch/x86: Use RCU_INIT_POINTER(x, NULL) in kvm/vmx.c X-Git-Tag: fixes-for-v3.18-merge-window~23^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b63a43f1e04b935e1ce0383f78ac0f5c65433d8;p=pandora-kernel.git arch/x86: Use RCU_INIT_POINTER(x, NULL) in kvm/vmx.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: Paolo Bonzini --- Reading git-diff-tree failed