[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86 hpet: Do nothing in hpet_broadcast_exit() if no timer deadline.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1259158378 0 # Node ID ce752efab1e11df69dd802a3c0865b40df81ffb1 # Parent 9ed5d7f23db5c186be3a37dd9f29441608db3bdd x86 hpet: Do nothing in hpet_broadcast_exit() if no timer deadline. From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/arch/x86/hpet.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 9ed5d7f23db5 -r ce752efab1e1 xen/arch/x86/hpet.c --- a/xen/arch/x86/hpet.c Wed Nov 25 14:11:37 2009 +0000 +++ b/xen/arch/x86/hpet.c Wed Nov 25 14:12:58 2009 +0000 @@ -660,6 +660,9 @@ void hpet_broadcast_exit(void) int cpu = smp_processor_id(); struct hpet_event_channel *ch = per_cpu(cpu_bc_channel, cpu); + if ( this_cpu(timer_deadline) == 0 ) + return; + BUG_ON( !ch ); spin_lock_irq(&ch->lock); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |