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 <[email protected]>
arch/x86/kvm/x86.c +0 -1
@@ -1109,7 +1109,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);
Il 10/04/2014 17:19, Marcelo Tosatti ha scritto:
Quoted 20 lines
Function and callers can be preempted.
https://bugzilla.kernel.org/show_bug.cgi?id=73721
Signed-off-by Marcelo Tosatti <[email protected]>arch/x86/kvm/x86.c +0
-2@@ -1109,7 +1109,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); --
Quoted 4 lines
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Reviewed-by Paolo Bonzini <[email protected]>