lkml.org 
[lkml]   [2003]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.6] Setup P4 thermal interrupt vector on UP
The P4 thermal interrupt vector was only getting set on SMP builds.

Index: linux-2.5/arch/i386/kernel/smpboot.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/smpboot.c,v
retrieving revision 1.63
diff -u -p -B -r1.63 smpboot.c
--- linux-2.5/arch/i386/kernel/smpboot.c 19 May 2003 18:45:28 -0000 1.63
+++ linux-2.5/arch/i386/kernel/smpboot.c 8 Aug 2003 15:25:39 -0000
@@ -1178,9 +1178,4 @@ void __init smp_intr_init(void)

/* IPI for generic function call */
set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);
-
- /* thermal monitor LVT interrupt */
-#ifdef CONFIG_X86_MCE_P4THERMAL
- set_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
-#endif
}
Index: linux-2.5/arch/i386/kernel/apic.c
===================================================================
RCS file: /home/cvs/linux-2.5/arch/i386/kernel/apic.c,v
retrieving revision 1.46
diff -u -p -B -r1.46 apic.c
--- linux-2.5/arch/i386/kernel/apic.c 24 Jun 2003 19:50:23 -0000 1.46
+++ linux-2.5/arch/i386/kernel/apic.c 8 Aug 2003 15:25:40 -0000
@@ -52,6 +52,11 @@ void __init apic_intr_init(void)
/* IPI vectors for APIC spurious and error interrupts */
set_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt);
set_intr_gate(ERROR_APIC_VECTOR, error_interrupt);
+
+ /* thermal monitor LVT interrupt */
+#ifdef CONFIG_X86_MCE_P4THERMAL
+ set_intr_gate(THERMAL_APIC_VECTOR, thermal_interrupt);
+#endif
}

/* Using APIC to generate smp_local_timer_interrupt? */
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.051 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site