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>
This commit is contained in:
Jeremy Fitzhardinge 2008-05-23 14:41:19 +01:00 коммит произвёл Thomas Gleixner
Родитель e490517a03
Коммит d031476408
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -632,8 +632,6 @@ void clock_was_set(void)
*/ */
void hres_timers_resume(void) void hres_timers_resume(void)
{ {
WARN_ON_ONCE(num_online_cpus() > 1);
/* Retrigger the CPU local events: */ /* Retrigger the CPU local events: */
retrigger_next_event(NULL); retrigger_next_event(NULL);
} }