* unified by tglx
*/
-#define NMI_VECTOR 0x02
+#include <asm/irq_vectors.h>
#ifndef __ASSEMBLY__
extern void threshold_interrupt(void);
extern void call_function_interrupt(void);
+extern void call_function_single_interrupt(void);
/* PIC specific functions */
extern void disable_8259A_irq(unsigned int irq);
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);
extern atomic_t irq_err_count;
extern atomic_t irq_mis_count;
-#endif /* !ASSEMBLY_ */
+/* EISA */
+extern void eisa_set_level_irq(unsigned int irq);
+
+/* Voyager functions */
+extern asmlinkage void vic_cpi_interrupt(void);
+extern asmlinkage void vic_sys_interrupt(void);
+extern asmlinkage void vic_cmn_interrupt(void);
+extern asmlinkage void qic_timer_interrupt(void);
+extern asmlinkage void qic_invalidate_interrupt(void);
+extern asmlinkage void qic_reschedule_interrupt(void);
+extern asmlinkage void qic_enable_irq_interrupt(void);
+extern asmlinkage void qic_call_function_interrupt(void);
#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 spinlock_t vector_lock;
#endif
+extern void setup_vector_irq(int cpu);
+
+#endif /* !ASSEMBLY_ */
#endif