public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix thermal_interrupt
@ 2002-05-01 21:41 Brian Gerst
  0 siblings, 0 replies; only message in thread
From: Brian Gerst @ 2002-05-01 21:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Dave Jones, Linux-Kernel

[-- Attachment #1: Type: text/plain, Size: 88 bytes --]

The interrupt stub for thermal_interrupt was not being created.

-- 

						Brian Gerst

[-- Attachment #2: thermal-1 --]
[-- Type: text/plain, Size: 962 bytes --]

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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-05-01 21:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-01 21:41 [PATCH] fix thermal_interrupt Brian Gerst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox