Skip to contentSkip to conversation

xen: deal with NMI's use of IST too

PATCH In review Jeremy Fitzhardinge 1 participant 1 message May 7, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/5 xen: deal with NMI's use of IST too

NMI uses the IST, and Xen will also deal with it.

---
arch/x86/xen/enlighten.c | 3 ++-

1 files changed, 2 insertions(+), 1 deletions(-)
arch/x86/xen/enlighten.c +0 -0
index 88f3aa4..b88ecc3 100644
@@ -451,7 +451,8 @@ static int cvt_gate_to_trap(int vector, const gate_desc *val,
	else if (addr == (unsigned long)int3)
		addr = (unsigned long)xen_int3;
	else if (addr == (unsigned long)double_fault ||
-		 addr == (unsigned long)stack_segment) {
+		 addr == (unsigned long)stack_segment ||
+		 addr == (unsigned long)nmi) {
		/* Don't need to handle these */
		return 0;

#ifdef CONFIG_X86_MCE

Signature · 1 line
1.6.0.6