diff options
-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) | |||
1123 | { | 1123 | { |
1124 | struct timespec ts; | 1124 | struct timespec ts; |
1125 | 1125 | ||
1126 | WARN_ON(preemptible()); | ||
1127 | ktime_get_ts(&ts); | 1126 | ktime_get_ts(&ts); |
1128 | monotonic_to_bootbased(&ts); | 1127 | monotonic_to_bootbased(&ts); |
1129 | return timespec_to_ns(&ts); | 1128 | return timespec_to_ns(&ts); |