summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-02 22:10:39 +0200
committerIngo Molnar <mingo@elte.hu>2008-05-12 21:28:05 +0200
commit22dc12d1f694b9af88e616ab758ff90c69d0fc83 (patch)
treec28d8ddc73bac954760bac121f0af484652f195e
parentx86: unify apic interrupt function declarations (diff)
downloadlinux-22dc12d1f694b9af88e616ab758ff90c69d0fc83.tar.xz
linux-22dc12d1f694b9af88e616ab758ff90c69d0fc83.zip
x86: unify hwirq.h
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--include/asm-x86/hw_irq.h11
-rw-r--r--include/asm-x86/hw_irq_32.h5
-rw-r--r--include/asm-x86/hw_irq_64.h17
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);
extern asmlinkage void qic_enable_irq_interrupt(void);
extern asmlinkage void qic_call_function_interrupt(void);
-#endif /* !ASSEMBLY_ */
-
#ifdef CONFIG_X86_32
-# include "hw_irq_32.h"
+extern void (*const interrupt[NR_IRQS])(void);
#else
-# include "hw_irq_64.h"
+typedef int vector_irq_t[NR_VECTORS];
+DECLARE_PER_CPU(vector_irq_t, vector_irq);
+extern void __setup_vector_irq(int cpu);
+extern spinlock_t vector_lock;
#endif
+#endif /* !ASSEMBLY_ */
+
#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 @@
-
-extern void (*const interrupt[NR_IRQS])(void);
-
-
-
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 @@
-#ifndef __ASSEMBLY__
-
-typedef int vector_irq_t[NR_VECTORS];
-DECLARE_PER_CPU(vector_irq_t, vector_irq);
-extern void __setup_vector_irq(int cpu);
-extern spinlock_t vector_lock;
-
-/*
- * Various low-level irq details needed by irq.c, process.c,
- * time.c, io_apic.c and smp.c
- *
- * Interrupt entry/exit code at both C and assembly level
- */
-
-#include <asm/ptrace.h>
-
-#endif