Tian, Kevin
2009-Feb-05 10:16 UTC
[Xen-devel] [PATCH] solve spinlock bug in s3 cpufreq path
solve spinlock bug in s3 cpufreq path. Signed-off-by Kevin Tian <kevin.tian@intel.com> diff -r ae18e0ffa801 xen/arch/x86/smpboot.c --- a/xen/arch/x86/smpboot.c Wed Feb 04 20:03:08 2009 -0500 +++ b/xen/arch/x86/smpboot.c Wed Feb 04 22:41:20 2009 -0500 @@ -1256,8 +1256,6 @@ mdelay(1); local_irq_disable(); - cpufreq_del_cpu(cpu); - time_suspend(); cpu_mcheck_disable(); @@ -1320,6 +1318,8 @@ } printk("Prepare to bring CPU%d down...\n", cpu); + + cpufreq_del_cpu(cpu); err = stop_machine_run(take_cpu_down, NULL, cpu); if (err < 0) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel