aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/hw_irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/hw_irq.h')
-rw-r--r--include/asm-i386/hw_irq.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h
index 95d3fd090298..87e5a351d881 100644
--- a/include/asm-i386/hw_irq.h
+++ b/include/asm-i386/hw_irq.h
@@ -19,6 +19,8 @@
19 19
20struct hw_interrupt_type; 20struct hw_interrupt_type;
21 21
22#define NMI_VECTOR 0x02
23
22/* 24/*
23 * Various low-level irq details needed by irq.c, process.c, 25 * Various low-level irq details needed by irq.c, process.c,
24 * time.c, io_apic.c and smp.c 26 * time.c, io_apic.c and smp.c
@@ -67,14 +69,4 @@ extern atomic_t irq_mis_count;
67 69
68#define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) 70#define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs))
69 71
70#if defined(CONFIG_X86_IO_APIC)
71static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i)
72{
73 if (IO_APIC_IRQ(i))
74 send_IPI_self(IO_APIC_VECTOR(i));
75}
76#else
77static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {}
78#endif
79
80#endif /* _ASM_HW_IRQ_H */ 72#endif /* _ASM_HW_IRQ_H */