KVM: x86: remove WARN_ON from get_kernel_ns()
authorMarcelo Tosatti <mtosatti@redhat.com>
Thu, 10 Apr 2014 21:19:12 +0000 (18:19 -0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Apr 2014 20:50:43 +0000 (17:50 -0300)
commitb351c39cc9e0151cee9b8d52a1e714928faabb38
tree0a6f9ff4aee585dc1f332339b74cc0be7013c193
parent66386ade2aa7f5fcf0dda4171df7b4d4c274d2d6
KVM: x86: remove WARN_ON from get_kernel_ns()

Function and callers can be preempted.

https://bugzilla.kernel.org/show_bug.cgi?id=73721

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c