aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-05-02 16:02:25 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-12 15:28:05 -0400
commit97e7b6f54c0d66586a658e985630cd63040311fb (patch)
tree132cda7363ec990bf2490ba617f89c4ae394cba5 /include
parent0bc471d93051a19545257909bc2ed2ad3b389b54 (diff)
x86: unify apic interrupt function declarations
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/hw_irq.h4
-rw-r--r--include/asm-x86/hw_irq_64.h3
-rw-r--r--include/asm-x86/irq_64.h2
3 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-x86/hw_irq.h b/include/asm-x86/hw_irq.h
index a8c5e8bdaa49..cdb09d77af03 100644
--- a/include/asm-x86/hw_irq.h
+++ b/include/asm-x86/hw_irq.h
@@ -67,6 +67,10 @@ extern void print_IO_APIC(void);
67extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn); 67extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn);
68extern void setup_ioapic_dest(void); 68extern void setup_ioapic_dest(void);
69 69
70#ifdef CONFIG_X86_64
71extern void enable_IO_APIC(void);
72#endif
73
70/* IPI functions */ 74/* IPI functions */
71extern void send_IPI_self(int vector); 75extern void send_IPI_self(int vector);
72extern void send_IPI(int dest, int vector); 76extern void send_IPI(int dest, int vector);
diff --git a/include/asm-x86/hw_irq_64.h b/include/asm-x86/hw_irq_64.h
index 9305f7456a7f..428785b3634b 100644
--- a/include/asm-x86/hw_irq_64.h
+++ b/include/asm-x86/hw_irq_64.h
@@ -12,9 +12,6 @@ extern spinlock_t vector_lock;
12 * Interrupt entry/exit code at both C and assembly level 12 * Interrupt entry/exit code at both C and assembly level
13 */ 13 */
14 14
15extern void enable_IO_APIC(void);
16extern void native_init_IRQ(void);
17
18#include <asm/ptrace.h> 15#include <asm/ptrace.h>
19 16
20#endif 17#endif
diff --git a/include/asm-x86/irq_64.h b/include/asm-x86/irq_64.h
index 3037ec667bfb..1ef233d15dc4 100644
--- a/include/asm-x86/irq_64.h
+++ b/include/asm-x86/irq_64.h
@@ -27,4 +27,6 @@ extern void fixup_irqs(cpumask_t map);
27 27
28#define __ARCH_HAS_DO_SOFTIRQ 1 28#define __ARCH_HAS_DO_SOFTIRQ 1
29 29
30extern void native_init_IRQ(void);
31
30#endif /* _ASM_IRQ_H */ 32#endif /* _ASM_IRQ_H */