aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/hw_irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/hw_irq.h')
-rw-r--r--include/asm-x86_64/hw_irq.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h
index 0df1715dee71..48a4a5364e85 100644
--- a/include/asm-x86_64/hw_irq.h
+++ b/include/asm-x86_64/hw_irq.h
@@ -12,12 +12,9 @@
12 * <tomsoft@informatik.tu-chemnitz.de> 12 * <tomsoft@informatik.tu-chemnitz.de>
13 * 13 *
14 * hacked by Andi Kleen for x86-64. 14 * hacked by Andi Kleen for x86-64.
15 *
16 * $Id: hw_irq.h,v 1.24 2001/09/14 20:55:03 vojtech Exp $
17 */ 15 */
18 16
19#ifndef __ASSEMBLY__ 17#ifndef __ASSEMBLY__
20#include <linux/config.h>
21#include <asm/atomic.h> 18#include <asm/atomic.h>
22#include <asm/irq.h> 19#include <asm/irq.h>
23#include <linux/profile.h> 20#include <linux/profile.h>
@@ -127,18 +124,9 @@ asmlinkage void IRQ_NAME(nr); \
127__asm__( \ 124__asm__( \
128"\n.p2align\n" \ 125"\n.p2align\n" \
129"IRQ" #nr "_interrupt:\n\t" \ 126"IRQ" #nr "_interrupt:\n\t" \
130 "push $" #nr "-256 ; " \ 127 "push $~(" #nr ") ; " \
131 "jmp common_interrupt"); 128 "jmp common_interrupt");
132 129
133#if defined(CONFIG_X86_IO_APIC)
134static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {
135 if (IO_APIC_IRQ(i))
136 send_IPI_self(IO_APIC_VECTOR(i));
137}
138#else
139static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {}
140#endif
141
142#define platform_legacy_irq(irq) ((irq) < 16) 130#define platform_legacy_irq(irq) ((irq) < 16)
143 131
144#endif 132#endif