Skip to contentSkip to conversation

fix thermal_interrupt

PATCH New Brian Gerst 1 participant 1 message May 1, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix thermal_interrupt

The interrupt stub for thermal_interrupt was not being created.

Signature · 1 line
						Brian Gerst
arch/i386/kernel/entry.S +5 -0
diff -urN linux-2.5.12/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S
@@ -395,6 +395,11 @@
 BUILD_INTERRUPT(apic_timer_interrupt,LOCAL_TIMER_VECTOR)
 BUILD_INTERRUPT(error_interrupt,ERROR_APIC_VECTOR)
 BUILD_INTERRUPT(spurious_interrupt,SPURIOUS_APIC_VECTOR)
+
+#ifdef CONFIG_X86_MCE_P4THERMAL
+BUILD_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR)
+#endif
+
 #endif
 
 ENTRY(divide_error)
arch/i386/kernel/i8259.c +1 -1
diff -urN linux-2.5.12/arch/i386/kernel/i8259.c linux/arch/i386/kernel/i8259.c
@@ -394,7 +394,7 @@
 
 	/* thermal monitor LVT interrupt */
 #ifdef CONFIG_X86_MCE_P4THERMAL
-	set_intr_gate(THERMAL_APIC_VECTOR, smp_thermal_interrupt);
+	set_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
 #endif
 #endif