[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: solve spinlock bug in s3 cpufreq path.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1233836005 0 # Node ID 4c92a04f4f5ec6bfc07ff39783bf8a45765bb418 # Parent 5fd1a6951801382c483043579620ae4da9949757 x86: solve spinlock bug in s3 cpufreq path. Signed-off-by Kevin Tian <kevin.tian@xxxxxxxxx> --- xen/arch/x86/smpboot.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 5fd1a6951801 -r 4c92a04f4f5e xen/arch/x86/smpboot.c --- a/xen/arch/x86/smpboot.c Thu Feb 05 12:12:34 2009 +0000 +++ b/xen/arch/x86/smpboot.c Thu Feb 05 12:13:25 2009 +0000 @@ -1256,8 +1256,6 @@ int __cpu_disable(void) mdelay(1); local_irq_disable(); - cpufreq_del_cpu(cpu); - time_suspend(); cpu_mcheck_disable(); @@ -1320,6 +1318,8 @@ int cpu_down(unsigned int cpu) } 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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |