|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-4.0-testing] x86: Bail from hpet_disable_legacy_bro
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1303823546 -3600
# Node ID 8b5cb0931ec253aea589c74e7a71b17f9cd3868a
# Parent e102c30f19c80e085890e471e68795ceb5ec15cf
x86: Bail from hpet_disable_legacy_broadcast() if legacy_hpet_event is
uninitialised.
Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-4.1-testing changeset: 23034:7c7ef1b6f4e5
xen-4.1-testing date: Tue Apr 26 14:11:18 2011 +0100
---
diff -r e102c30f19c8 -r 8b5cb0931ec2 xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c Mon Apr 25 13:45:06 2011 +0100
+++ b/xen/arch/x86/hpet.c Tue Apr 26 14:12:26 2011 +0100
@@ -624,6 +624,9 @@
u32 cfg;
unsigned long flags;
+ if ( !legacy_hpet_event.shift )
+ return;
+
spin_lock_irqsave(&legacy_hpet_event.lock, flags);
legacy_hpet_event.flags |= HPET_EVT_DISABLE;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-4.0-testing] x86: Bail from hpet_disable_legacy_broadcast() if legacy_hpet_event is uninitialised.,
Xen patchbot-4 . 0-testing <=
|
|
|
|
|