projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66386ad
)
KVM: x86: remove WARN_ON from get_kernel_ns()
author
Marcelo Tosatti
<mtosatti@redhat.com>
Thu, 10 Apr 2014 21:19:12 +0000
(18:19 -0300)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 14 Apr 2014 20:50:43 +0000
(17:50 -0300)
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
patch
|
blob
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 41693787cd66e729311f15e3391b3806c31ba2e2..757d40871b309010cc0b5f67841db6c8dd0c01a8 100644
(file)
--- 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);