X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-i386%2Fhw_irq.h;h=0bedbdf5e9078af5d579f80832a057911067f6b8;hb=cb7fabcf9d4340b61f012cc7e8e3d7ff5c4f441c;hp=95d3fd090298be566194d02812bf07c0dda807c2;hpb=bbe5d235ee201705530a7153b57e141cd77d818b;p=powerpc.git diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h index 95d3fd0902..0bedbdf5e9 100644 --- a/include/asm-i386/hw_irq.h +++ b/include/asm-i386/hw_irq.h @@ -17,7 +17,7 @@ #include #include -struct hw_interrupt_type; +#define NMI_VECTOR 0x02 /* * Various low-level irq details needed by irq.c, process.c, @@ -26,10 +26,6 @@ struct hw_interrupt_type; * Interrupt entry/exit code at both C and assembly level */ -extern u8 irq_vector[NR_IRQ_VECTORS]; -#define IO_APIC_VECTOR(irq) (irq_vector[irq]) -#define AUTO_ASSIGN -1 - extern void (*interrupt[NR_IRQS])(void); #ifdef CONFIG_SMP @@ -42,7 +38,7 @@ fastcall void call_function_interrupt(void); fastcall void apic_timer_interrupt(void); fastcall void error_interrupt(void); fastcall void spurious_interrupt(void); -fastcall void thermal_interrupt(struct pt_regs *); +fastcall void thermal_interrupt(void); #define platform_legacy_irq(irq) ((irq) < 16) #endif @@ -67,14 +63,4 @@ extern atomic_t irq_mis_count; #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) -#if defined(CONFIG_X86_IO_APIC) -static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) -{ - if (IO_APIC_IRQ(i)) - send_IPI_self(IO_APIC_VECTOR(i)); -} -#else -static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {} -#endif - #endif /* _ASM_HW_IRQ_H */