|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix incorrect re-enablement of interrupts (found by Tris
# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID f81e637e7741424448108ab242e6fd472e583641
# Parent 98fb7e03a886148f687f84ce0e475f98be1e7ffc
Fix incorrect re-enablement of interrupts (found by Tristan Gingold)
diff -r 98fb7e03a886 -r f81e637e7741 xen/arch/ia64/xen/vcpu.c
--- a/xen/arch/ia64/xen/vcpu.c Mon Oct 3 22:27:27 2005
+++ b/xen/arch/ia64/xen/vcpu.c Fri Oct 7 15:37:41 2005
@@ -1043,9 +1043,10 @@
void vcpu_safe_set_itm(unsigned long val)
{
unsigned long epsilon = 100;
+ unsigned long flags;
UINT64 now = ia64_get_itc();
- local_irq_disable();
+ local_irq_save(flags);
while (1) {
//printf("*** vcpu_safe_set_itm: Setting itm to %lx, itc=%lx\n",val,now);
ia64_set_itm(val);
@@ -1053,7 +1054,7 @@
val = now + epsilon;
epsilon <<= 1;
}
- local_irq_enable();
+ local_irq_restore(flags);
}
void vcpu_set_next_timer(VCPU *vcpu)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix incorrect re-enablement of interrupts (found by Tristan Gingold),
Xen patchbot -unstable <=
|
|
|
|
|