diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-13 03:49:38 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-13 03:49:38 -0500 |
commit | b1864e9a1afef41709886072c6e6248def0386f4 (patch) | |
tree | 2fe749209cf860c1dd10efd1bd2ad8df572bd66e /arch/x86/include/asm/hw_irq.h | |
parent | e9c4ffb11f0b19005b5b9dc8481687a3637e5887 (diff) | |
parent | 7032e8696726354d6180d8a2d17191f958cd93ae (diff) |
Merge branch 'x86/core' into perfcounters/core
Conflicts:
arch/x86/Kconfig
arch/x86/kernel/apic.c
arch/x86/kernel/setup_percpu.c
Diffstat (limited to 'arch/x86/include/asm/hw_irq.h')
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index aa93e53b85ee..f39881b6b68b 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -25,8 +25,6 @@ | |||
25 | #include <asm/irq.h> | 25 | #include <asm/irq.h> |
26 | #include <asm/sections.h> | 26 | #include <asm/sections.h> |
27 | 27 | ||
28 | #define platform_legacy_irq(irq) ((irq) < 16) | ||
29 | |||
30 | /* Interrupt handlers registered during init_IRQ */ | 28 | /* Interrupt handlers registered during init_IRQ */ |
31 | extern void apic_timer_interrupt(void); | 29 | extern void apic_timer_interrupt(void); |
32 | extern void error_interrupt(void); | 30 | extern void error_interrupt(void); |
@@ -60,7 +58,7 @@ extern void make_8259A_irq(unsigned int irq); | |||
60 | extern void init_8259A(int aeoi); | 58 | extern void init_8259A(int aeoi); |
61 | 59 | ||
62 | /* IOAPIC */ | 60 | /* IOAPIC */ |
63 | #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) | 61 | #define IO_APIC_IRQ(x) (((x) >= NR_IRQS_LEGACY) || ((1<<(x)) & io_apic_irqs)) |
64 | extern unsigned long io_apic_irqs; | 62 | extern unsigned long io_apic_irqs; |
65 | 63 | ||
66 | extern void init_VISWS_APIC_irqs(void); | 64 | extern void init_VISWS_APIC_irqs(void); |
@@ -69,15 +67,7 @@ extern void disable_IO_APIC(void); | |||
69 | extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn); | 67 | extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn); |
70 | extern void setup_ioapic_dest(void); | 68 | extern void setup_ioapic_dest(void); |
71 | 69 | ||
72 | #ifdef CONFIG_X86_64 | ||
73 | extern void enable_IO_APIC(void); | 70 | extern void enable_IO_APIC(void); |
74 | #endif | ||
75 | |||
76 | /* IPI functions */ | ||
77 | #ifdef CONFIG_X86_32 | ||
78 | extern void send_IPI_self(int vector); | ||
79 | #endif | ||
80 | extern void send_IPI(int dest, int vector); | ||
81 | 71 | ||
82 | /* Statistics */ | 72 | /* Statistics */ |
83 | extern atomic_t irq_err_count; | 73 | extern atomic_t irq_err_count; |
@@ -86,21 +76,11 @@ extern atomic_t irq_mis_count; | |||
86 | /* EISA */ | 76 | /* EISA */ |
87 | extern void eisa_set_level_irq(unsigned int irq); | 77 | extern void eisa_set_level_irq(unsigned int irq); |
88 | 78 | ||
89 | /* Voyager functions */ | ||
90 | extern asmlinkage void vic_cpi_interrupt(void); | ||
91 | extern asmlinkage void vic_sys_interrupt(void); | ||
92 | extern asmlinkage void vic_cmn_interrupt(void); | ||
93 | extern asmlinkage void qic_timer_interrupt(void); | ||
94 | extern asmlinkage void qic_invalidate_interrupt(void); | ||
95 | extern asmlinkage void qic_reschedule_interrupt(void); | ||
96 | extern asmlinkage void qic_enable_irq_interrupt(void); | ||
97 | extern asmlinkage void qic_call_function_interrupt(void); | ||
98 | |||
99 | /* SMP */ | 79 | /* SMP */ |
100 | extern void smp_apic_timer_interrupt(struct pt_regs *); | 80 | extern void smp_apic_timer_interrupt(struct pt_regs *); |
101 | extern void smp_spurious_interrupt(struct pt_regs *); | 81 | extern void smp_spurious_interrupt(struct pt_regs *); |
102 | extern void smp_error_interrupt(struct pt_regs *); | 82 | extern void smp_error_interrupt(struct pt_regs *); |
103 | #ifdef CONFIG_X86_SMP | 83 | #ifdef CONFIG_SMP |
104 | extern void smp_reschedule_interrupt(struct pt_regs *); | 84 | extern void smp_reschedule_interrupt(struct pt_regs *); |
105 | extern void smp_call_function_interrupt(struct pt_regs *); | 85 | extern void smp_call_function_interrupt(struct pt_regs *); |
106 | extern void smp_call_function_single_interrupt(struct pt_regs *); | 86 | extern void smp_call_function_single_interrupt(struct pt_regs *); |