Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information