aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-10 08:58:05 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-10 10:26:43 -0400
commit47f16ca7631f9c6bad8e6d968cfb1433029b09ec (patch)
tree182a5bf4607bf31b02e90efa065ce5e3d2eeabc9 /arch
parentabdb5a5713330e17dfe91ab0d3e29c4744d95162 (diff)
x86, irqinit: preempt merge conflicts
To make the topic merge life easier for tip:perfcounters/core, include two (inactive in this topic) IRQ vector initializations here. Also fix build bug - missing kprobes.h inclusion. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/irqinit.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c
index 626977200a58..b424c32c4a0c 100644
--- a/arch/x86/kernel/irqinit.c
+++ b/arch/x86/kernel/irqinit.c
@@ -7,6 +7,7 @@
7#include <linux/timex.h> 7#include <linux/timex.h>
8#include <linux/slab.h> 8#include <linux/slab.h>
9#include <linux/random.h> 9#include <linux/random.h>
10#include <linux/kprobes.h>
10#include <linux/init.h> 11#include <linux/init.h>
11#include <linux/kernel_stat.h> 12#include <linux/kernel_stat.h>
12#include <linux/sysdev.h> 13#include <linux/sysdev.h>
@@ -195,6 +196,13 @@ static void __init apic_intr_init(void)
195 /* IPI vectors for APIC spurious and error interrupts */ 196 /* IPI vectors for APIC spurious and error interrupts */
196 alloc_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt); 197 alloc_intr_gate(SPURIOUS_APIC_VECTOR, spurious_interrupt);
197 alloc_intr_gate(ERROR_APIC_VECTOR, error_interrupt); 198 alloc_intr_gate(ERROR_APIC_VECTOR, error_interrupt);
199
200 /* Performance monitoring interrupts: */
201# ifdef CONFIG_PERF_COUNTERS
202 alloc_intr_gate(LOCAL_PERF_VECTOR, perf_counter_interrupt);
203 alloc_intr_gate(LOCAL_PENDING_VECTOR, perf_pending_interrupt);
204# endif
205
198#endif 206#endif
199 207
200#ifdef CONFIG_X86_32 208#ifdef CONFIG_X86_32