mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
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);
|
||||
|
||||