diff options
Diffstat (limited to 'include/asm-x86/hw_irq_64.h')
-rw-r--r-- | include/asm-x86/hw_irq_64.h | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/include/asm-x86/hw_irq_64.h b/include/asm-x86/hw_irq_64.h index 09dfc18a6dd0..a470d59da678 100644 --- a/include/asm-x86/hw_irq_64.h +++ b/include/asm-x86/hw_irq_64.h | |||
@@ -40,22 +40,22 @@ | |||
40 | /* | 40 | /* |
41 | * Vectors 0x30-0x3f are used for ISA interrupts. | 41 | * Vectors 0x30-0x3f are used for ISA interrupts. |
42 | */ | 42 | */ |
43 | #define IRQ0_VECTOR FIRST_EXTERNAL_VECTOR + 0x10 | 43 | #define IRQ0_VECTOR (FIRST_EXTERNAL_VECTOR + 0x10) |
44 | #define IRQ1_VECTOR IRQ0_VECTOR + 1 | 44 | #define IRQ1_VECTOR (IRQ0_VECTOR + 1) |
45 | #define IRQ2_VECTOR IRQ0_VECTOR + 2 | 45 | #define IRQ2_VECTOR (IRQ0_VECTOR + 2) |
46 | #define IRQ3_VECTOR IRQ0_VECTOR + 3 | 46 | #define IRQ3_VECTOR (IRQ0_VECTOR + 3) |
47 | #define IRQ4_VECTOR IRQ0_VECTOR + 4 | 47 | #define IRQ4_VECTOR (IRQ0_VECTOR + 4) |
48 | #define IRQ5_VECTOR IRQ0_VECTOR + 5 | 48 | #define IRQ5_VECTOR (IRQ0_VECTOR + 5) |
49 | #define IRQ6_VECTOR IRQ0_VECTOR + 6 | 49 | #define IRQ6_VECTOR (IRQ0_VECTOR + 6) |
50 | #define IRQ7_VECTOR IRQ0_VECTOR + 7 | 50 | #define IRQ7_VECTOR (IRQ0_VECTOR + 7) |
51 | #define IRQ8_VECTOR IRQ0_VECTOR + 8 | 51 | #define IRQ8_VECTOR (IRQ0_VECTOR + 8) |
52 | #define IRQ9_VECTOR IRQ0_VECTOR + 9 | 52 | #define IRQ9_VECTOR (IRQ0_VECTOR + 9) |
53 | #define IRQ10_VECTOR IRQ0_VECTOR + 10 | 53 | #define IRQ10_VECTOR (IRQ0_VECTOR + 10) |
54 | #define IRQ11_VECTOR IRQ0_VECTOR + 11 | 54 | #define IRQ11_VECTOR (IRQ0_VECTOR + 11) |
55 | #define IRQ12_VECTOR IRQ0_VECTOR + 12 | 55 | #define IRQ12_VECTOR (IRQ0_VECTOR + 12) |
56 | #define IRQ13_VECTOR IRQ0_VECTOR + 13 | 56 | #define IRQ13_VECTOR (IRQ0_VECTOR + 13) |
57 | #define IRQ14_VECTOR IRQ0_VECTOR + 14 | 57 | #define IRQ14_VECTOR (IRQ0_VECTOR + 14) |
58 | #define IRQ15_VECTOR IRQ0_VECTOR + 15 | 58 | #define IRQ15_VECTOR (IRQ0_VECTOR + 15) |
59 | 59 | ||
60 | /* | 60 | /* |
61 | * Special IRQ vectors used by the SMP architecture, 0xf0-0xff | 61 | * Special IRQ vectors used by the SMP architecture, 0xf0-0xff |
@@ -148,9 +148,6 @@ extern atomic_t irq_mis_count; | |||
148 | 148 | ||
149 | #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) | 149 | #define IO_APIC_IRQ(x) (((x) >= 16) || ((1<<(x)) & io_apic_irqs)) |
150 | 150 | ||
151 | #define __STR(x) #x | ||
152 | #define STR(x) __STR(x) | ||
153 | |||
154 | #include <asm/ptrace.h> | 151 | #include <asm/ptrace.h> |
155 | 152 | ||
156 | #define IRQ_NAME2(nr) nr##_interrupt(void) | 153 | #define IRQ_NAME2(nr) nr##_interrupt(void) |