diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2014-04-10 23:19:12 +0200 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2014-04-14 22:50:43 +0200 |
commit | b351c39cc9e0151cee9b8d52a1e714928faabb38 (patch) | |
tree | 0a6f9ff4aee585dc1f332339b74cc0be7013c193 /arch/x86/kvm | |
parent | KVM: Rename variable smep to cr4_smep (diff) | |
download | linux-b351c39cc9e0151cee9b8d52a1e714928faabb38.tar.xz linux-b351c39cc9e0151cee9b8d52a1e714928faabb38.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 41693787cd66..757d40871b30 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -1123,7 +1123,6 @@ static inline u64 get_kernel_ns(void) { struct timespec ts; - WARN_ON(preemptible()); ktime_get_ts(&ts); monotonic_to_bootbased(&ts); return timespec_to_ns(&ts); |