WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] x86 hpet: Do nothing in hpet_broadcast

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] x86 hpet: Do nothing in hpet_broadcast_exit() if no timer deadline.
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Nov 2009 00:40:52 -0800
Delivery-date: Fri, 27 Nov 2009 00:42:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] x86 hpet: Do nothing in hpet_broadcast_exit() if no timer deadline., Xen patchbot-3.4-testing <=