ia64/xen-unstable
changeset 16605:2ebced8f8baf
hvm: Fix mistake in timer cleanup.
Spotted by Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Spotted by Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu Dec 13 09:29:21 2007 +0000 (2007-12-13) |
parents | 4553bc1087d9 |
children | 8f0cbfc478d6 |
files | xen/arch/x86/hvm/vpt.c |
line diff
1.1 --- a/xen/arch/x86/hvm/vpt.c Wed Dec 12 15:41:20 2007 +0000 1.2 +++ b/xen/arch/x86/hvm/vpt.c Thu Dec 13 09:29:21 2007 +0000 1.3 @@ -53,8 +53,8 @@ static int pt_irq_masked(struct periodic 1.4 if ( pt->source == PTSRC_lapic ) 1.5 { 1.6 struct vlapic *vlapic = vcpu_vlapic(v); 1.7 - return (vlapic_enabled(vlapic) && 1.8 - !(vlapic_get_reg(vlapic, APIC_LVTT) & APIC_LVT_MASKED)); 1.9 + return (!vlapic_enabled(vlapic) || 1.10 + (vlapic_get_reg(vlapic, APIC_LVTT) & APIC_LVT_MASKED)); 1.11 } 1.12 1.13 isa_irq = pt->irq;