[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] x86 hpet: Do nothing in hpet_broadcast_exit() if no timer deadline.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1259310572 0 # Node ID 0fe0f26b4ee046e860f9521e88cb111f5c2e5d5c # Parent 5325327eada0d590bf27e252f25ec6683f988c95 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-unstable changeset: 20497:ce752efab1e1 xen-unstable date: Wed Nov 25 14:12:58 2009 +0000 --- xen/arch/x86/hpet.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 5325327eada0 -r 0fe0f26b4ee0 xen/arch/x86/hpet.c --- a/xen/arch/x86/hpet.c Fri Nov 27 08:29:07 2009 +0000 +++ b/xen/arch/x86/hpet.c Fri Nov 27 08:29:32 2009 +0000 @@ -655,6 +655,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 |