ia64/xen-unstable
changeset 13983:1f5e6fb9c652
x86: fix NMI delivery to dom0
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author | kfraser@localhost.localdomain |
---|---|
date | Thu Feb 15 14:24:11 2007 +0000 (2007-02-15) |
parents | f9c079fca143 |
children | 96d08345f1c5 |
files | xen/arch/x86/traps.c |
line diff
1.1 --- a/xen/arch/x86/traps.c Thu Feb 15 14:21:50 2007 +0000 1.2 +++ b/xen/arch/x86/traps.c Thu Feb 15 14:24:11 2007 +0000 1.3 @@ -1804,7 +1804,7 @@ static void nmi_dom0_report(unsigned int 1.4 1.5 set_bit(reason_idx, nmi_reason(d)); 1.6 1.7 - if ( test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) ) 1.8 + if ( !test_and_set_bit(_VCPUF_nmi_pending, &v->vcpu_flags) ) 1.9 raise_softirq(NMI_SOFTIRQ); /* not safe to wake up a vcpu here */ 1.10 } 1.11