提交 97e7b6f5 编写于 作者: T Thomas Gleixner 提交者: Ingo Molnar

x86: unify apic interrupt function declarations

Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 0bc471d9
...@@ -67,6 +67,10 @@ extern void print_IO_APIC(void); ...@@ -67,6 +67,10 @@ extern void print_IO_APIC(void);
extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn); extern int IO_APIC_get_PCI_irq_vector(int bus, int slot, int fn);
extern void setup_ioapic_dest(void); extern void setup_ioapic_dest(void);
#ifdef CONFIG_X86_64
extern void enable_IO_APIC(void);
#endif
/* IPI functions */ /* IPI functions */
extern void send_IPI_self(int vector); extern void send_IPI_self(int vector);
extern void send_IPI(int dest, int vector); extern void send_IPI(int dest, int vector);
......
...@@ -12,9 +12,6 @@ extern spinlock_t vector_lock; ...@@ -12,9 +12,6 @@ extern spinlock_t vector_lock;
* Interrupt entry/exit code at both C and assembly level * Interrupt entry/exit code at both C and assembly level
*/ */
extern void enable_IO_APIC(void);
extern void native_init_IRQ(void);
#include <asm/ptrace.h> #include <asm/ptrace.h>
#endif #endif
...@@ -27,4 +27,6 @@ extern void fixup_irqs(cpumask_t map); ...@@ -27,4 +27,6 @@ extern void fixup_irqs(cpumask_t map);
#define __ARCH_HAS_DO_SOFTIRQ 1 #define __ARCH_HAS_DO_SOFTIRQ 1
extern void native_init_IRQ(void);
#endif /* _ASM_IRQ_H */ #endif /* _ASM_IRQ_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册