Skip to content

Commit

Permalink
x86: unify apic interrupt function declarations
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner authored and Ingo Molnar committed May 12, 2008
1 parent 0bc471d commit 97e7b6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions include/asm-x86/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 void setup_ioapic_dest(void);

#ifdef CONFIG_X86_64
extern void enable_IO_APIC(void);
#endif

/* IPI functions */
extern void send_IPI_self(int vector);
extern void send_IPI(int dest, int vector);
Expand Down
3 changes: 0 additions & 3 deletions include/asm-x86/hw_irq_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ extern spinlock_t vector_lock;
* 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>

#endif
2 changes: 2 additions & 0 deletions include/asm-x86/irq_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ extern void fixup_irqs(cpumask_t map);

#define __ARCH_HAS_DO_SOFTIRQ 1

extern void native_init_IRQ(void);

#endif /* _ASM_IRQ_H */

0 comments on commit 97e7b6f

Please sign in to comment.