summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-06-14 16:46:59 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-14 16:46:59 +0400
commit424d54d2dca03805942055e5b19926d33a7d1e31 (patch)
tree8c85f209533f90ce6e5a11bea9a728479594d3b4 /arch
parent095313595648b5d46525c27cef0a368e92634401 (diff)
parente32025a56403df4386cd61a741c0a36afe79ae8a (diff)
downloadlinux-424d54d2dca03805942055e5b19926d33a7d1e31.tar.xz
Merge git://git.kernel.org/pub/scm/virt/kvm/kvm
Pull kvm fix from Marcelo Tosatti: "Fix a spurious warning on CPU offline path" * git://git.kernel.org/pub/scm/virt/kvm/kvm: x86: kvmclock: remove check_and_clear_guest_paused warning
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/kvmclock.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86/kernel/kvmclock.c b/arch/x86/kernel/kvmclock.c
index 086eb58c6e80..f1b42b3a186c 100644
--- a/arch/x86/kernel/kvmclock.c
+++ b/arch/x86/kernel/kvmclock.c
@@ -120,11 +120,6 @@ bool kvm_check_and_clear_guest_paused(void)
bool ret = false;
struct pvclock_vcpu_time_info *src;
- /*
- * per_cpu() is safe here because this function is only called from
- * timer functions where preemption is already disabled.
- */
- WARN_ON(!in_atomic());
src = &__get_cpu_var(hv_clock);
if ((src->flags & PVCLOCK_GUEST_STOPPED) != 0) {
__this_cpu_and(hv_clock.flags, ~PVCLOCK_GUEST_STOPPED);