diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-02 16:10:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:28:05 -0400 |
commit | 22dc12d1f694b9af88e616ab758ff90c69d0fc83 (patch) | |
tree | c28d8ddc73bac954760bac121f0af484652f195e /include/asm-x86 | |
parent | 97e7b6f54c0d66586a658e985630cd63040311fb (diff) |
x86: unify hwirq.h
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/hw_irq.h | 11 | ||||
-rw-r--r-- | include/asm-x86/hw_irq_32.h | 5 | ||||
-rw-r--r-- | include/asm-x86/hw_irq_64.h | 17 |
3 files changed, 7 insertions, 26 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h index cdb09d77af03..1db2dff1ef49 100644 --- a/include/asm-x86/hw_irq.h +++ b/include/asm-x86/hw_irq.h | |||
@@ -89,12 +89,15 @@ extern asmlinkage void qic_reschedule_interrupt(void); | |||
89 | extern asmlinkage void qic_enable_irq_interrupt(void); | 89 | extern asmlinkage void qic_enable_irq_interrupt(void); |
90 | extern asmlinkage void qic_call_function_interrupt(void); | 90 | extern asmlinkage void qic_call_function_interrupt(void); |
91 | 91 | ||
92 | #endif /* !ASSEMBLY_ */ | ||
93 | |||
94 | #ifdef CONFIG_X86_32 | 92 | #ifdef CONFIG_X86_32 |
95 | # include "hw_irq_32.h" | 93 | extern void (*const interrupt[NR_IRQS])(void); |
96 | #else | 94 | #else |
97 | # include "hw_irq_64.h" | 95 | typedef int vector_irq_t[NR_VECTORS]; |
96 | DECLARE_PER_CPU(vector_irq_t, vector_irq); | ||
97 | extern void __setup_vector_irq(int cpu); | ||
98 | extern spinlock_t vector_lock; | ||
98 | #endif | 99 | #endif |
99 | 100 | ||
101 | #endif /* !ASSEMBLY_ */ | ||
102 | |||
100 | #endif | 103 | #endif |
diff --git a/include/asm-x86/hw_irq_32.h b/include/asm-x86/hw_irq_32.h deleted file mode 100644 index 89fca5af5958..000000000000 --- a/include/asm-x86/hw_irq_32.h +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | |||
2 | extern void (*const interrupt[NR_IRQS])(void); | ||
3 | |||
4 | |||
5 | |||
diff --git a/include/asm-x86/hw_irq_64.h b/include/asm-x86/hw_irq_64.h deleted file mode 100644 index 428785b3634b..000000000000 --- a/include/asm-x86/hw_irq_64.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #ifndef __ASSEMBLY__ | ||
2 | |||
3 | typedef int vector_irq_t[NR_VECTORS]; | ||
4 | DECLARE_PER_CPU(vector_irq_t, vector_irq); | ||
5 | extern void __setup_vector_irq(int cpu); | ||
6 | extern spinlock_t vector_lock; | ||
7 | |||
8 | /* | ||
9 | * Various low-level irq details needed by irq.c, process.c, | ||
10 | * time.c, io_apic.c and smp.c | ||
11 | * | ||
12 | * Interrupt entry/exit code at both C and assembly level | ||
13 | */ | ||
14 | |||
15 | #include <asm/ptrace.h> | ||
16 | |||
17 | #endif | ||