x86: move BUILD_IRQ macro magic to i8259_64.c
[sfrench/cifs-2.6.git] / include / asm-x86 / hw_irq_64.h
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 extern void enable_IO_APIC(void);
16 extern void native_init_IRQ(void);
17
18 #include <asm/ptrace.h>
19
20 #endif