"warm reset vector" is used to start APs. At booting time, it is set
by BP, and cleared after all APs have started. When do S3, similar
work need to do. However, when enable non-boot CPUs after S3, Xen just
sets this vector, but forgets to clear it after APs startup.
Signed-off-by: Huacai Chen <huacai.chen@intel.com>
xen-unstable changeset: 17751:
564c9be76aa496fda12923ffca5c4ca41a6c395f
xen-unstable date: Thu May 29 09:42:59 2008 +0100
panic("Not enough cpus");
}
cpus_clear(frozen_cpus);
+
+ /*
+ * Cleanup possible dangling ends after sleep...
+ */
+ smpboot_restore_warm_reset_vector();
}
#else /* ... !CONFIG_HOTPLUG_CPU */
int __cpu_disable(void)