[PATCH] fix thermal_interrupt

From: Brian Gerst (bgerst@didntduck.org)
Date: Wed May 01 2002 - 16:41:17 EST


The interrupt stub for thermal_interrupt was not being created.

-- 

Brian Gerst

diff -urN linux-2.5.12/arch/i386/kernel/entry.S linux/arch/i386/kernel/entry.S --- linux-2.5.12/arch/i386/kernel/entry.S Mon Apr 29 02:29:49 2002 +++ linux/arch/i386/kernel/entry.S Wed May 1 14:38:28 2002 @@ -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) diff -urN linux-2.5.12/arch/i386/kernel/i8259.c linux/arch/i386/kernel/i8259.c --- linux-2.5.12/arch/i386/kernel/i8259.c Mon Apr 29 02:29:49 2002 +++ linux/arch/i386/kernel/i8259.c Wed May 1 14:36:22 2002 @@ -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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:11 EST