Commit d031476408ae0f5196e3c579f519dfdefb099b67

Authored by Jeremy Fitzhardinge
Committed by Thomas Gleixner
1 parent e490517a03

hrtimer: remove warning in hres_timers_resume

hres_timers_resume() warns if there appears to be more than one cpu
online.  This warning makes sense when the suspend/resume mechanism
offlines all cpus but one during the suspend/resume process.

However, Xen suspend does not need to offline the other cpus; it
merely keeps them tied up in stop_machine() while the virtual machine
is suspended.  The warning hres_timers_resume issues is therefore
spurious.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

... ... @@ -632,8 +632,6 @@
632 632 */
633 633 void hres_timers_resume(void)
634 634 {
635   - WARN_ON_ONCE(num_online_cpus() > 1);
636   -
637 635 /* Retrigger the CPU local events: */
638 636 retrigger_next_event(NULL);
639 637 }