Mute error message on SMP resume if a secondary CPU is

already back online.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-21 15:06:49 +01:00
1 parent ea8c03c331
commit da618e9258
1 file changed
+4 -5
@@ -189,17 +189,16 @@ static int __do_suspend(void *ignore)
#endif
/*
** Only resume xenbus /after/ we've prepared our VCPUs; otherwise
** the VCPU hotplug callback can race with our vcpu_prepare
*/
* Only resume xenbus /after/ we've prepared our VCPUs; otherwise
* the VCPU hotplug callback can race with our vcpu_prepare
*/
xenbus_resume();
#ifdef CONFIG_SMP
out_reenable_cpus:
for_each_cpu_mask(i, prev_online_cpus) {
j = cpu_up(i);
if (j != 0) {
if ((j != 0) && !cpu_online(i)) {
printk(KERN_CRIT "Failed to bring cpu "
"%d back up (%d).\n",
i, j);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.