aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/irq_vectors.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/irq_vectors.h')
-rw-r--r--include/asm-x86/irq_vectors.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h
index 3cb6d8c77b39..b58581e2e24e 100644
--- a/include/asm-x86/irq_vectors.h
+++ b/include/asm-x86/irq_vectors.h
@@ -18,17 +18,20 @@
18#endif 18#endif
19 19
20/* 20/*
21 * Vectors 0x20-0x2f are used for ISA interrupts on 32 bit.
22 *
23 * Reserve the lowest usable priority level 0x20 - 0x2f for triggering 21 * Reserve the lowest usable priority level 0x20 - 0x2f for triggering
24 * cleanup after irq migration on 64 bit. 22 * cleanup after irq migration on 64 bit.
25 */ 23 */
26#define IRQ_MOVE_CLEANUP_VECTOR FIRST_EXTERNAL_VECTOR 24#define IRQ_MOVE_CLEANUP_VECTOR FIRST_EXTERNAL_VECTOR
27 25
28/* 26/*
29 * Vectors 0x30-0x3f are used for ISA interrupts on 64 bit 27 * Vectors 0x20-0x2f are used for ISA interrupts on 32 bit.
28 * Vectors 0x30-0x3f are used for ISA interrupts on 64 bit.
30 */ 29 */
30#ifdef CONFIG_X86_32
31#define IRQ0_VECTOR (FIRST_EXTERNAL_VECTOR)
32#else
31#define IRQ0_VECTOR (FIRST_EXTERNAL_VECTOR + 0x10) 33#define IRQ0_VECTOR (FIRST_EXTERNAL_VECTOR + 0x10)
34#endif
32#define IRQ1_VECTOR (IRQ0_VECTOR + 1) 35#define IRQ1_VECTOR (IRQ0_VECTOR + 1)
33#define IRQ2_VECTOR (IRQ0_VECTOR + 2) 36#define IRQ2_VECTOR (IRQ0_VECTOR + 2)
34#define IRQ3_VECTOR (IRQ0_VECTOR + 3) 37#define IRQ3_VECTOR (IRQ0_VECTOR + 3)