diff options
Diffstat (limited to 'arch/x86_64/kernel/io_apic.c')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index 79fa7b2bbee4..8dede0bd2267 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -54,22 +54,22 @@ struct irq_cfg { | |||
54 | 54 | ||
55 | /* irq_cfg is indexed by the sum of all RTEs in all I/O APICs. */ | 55 | /* irq_cfg is indexed by the sum of all RTEs in all I/O APICs. */ |
56 | struct irq_cfg irq_cfg[NR_IRQS] __read_mostly = { | 56 | struct irq_cfg irq_cfg[NR_IRQS] __read_mostly = { |
57 | [0] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 0 }, | 57 | [0] = { .domain = CPU_MASK_ALL, .vector = IRQ0_VECTOR, }, |
58 | [1] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 1 }, | 58 | [1] = { .domain = CPU_MASK_ALL, .vector = IRQ1_VECTOR, }, |
59 | [2] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 2 }, | 59 | [2] = { .domain = CPU_MASK_ALL, .vector = IRQ2_VECTOR, }, |
60 | [3] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 3 }, | 60 | [3] = { .domain = CPU_MASK_ALL, .vector = IRQ3_VECTOR, }, |
61 | [4] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 4 }, | 61 | [4] = { .domain = CPU_MASK_ALL, .vector = IRQ4_VECTOR, }, |
62 | [5] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 5 }, | 62 | [5] = { .domain = CPU_MASK_ALL, .vector = IRQ5_VECTOR, }, |
63 | [6] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 6 }, | 63 | [6] = { .domain = CPU_MASK_ALL, .vector = IRQ6_VECTOR, }, |
64 | [7] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 7 }, | 64 | [7] = { .domain = CPU_MASK_ALL, .vector = IRQ7_VECTOR, }, |
65 | [8] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 8 }, | 65 | [8] = { .domain = CPU_MASK_ALL, .vector = IRQ8_VECTOR, }, |
66 | [9] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 9 }, | 66 | [9] = { .domain = CPU_MASK_ALL, .vector = IRQ9_VECTOR, }, |
67 | [10] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 10 }, | 67 | [10] = { .domain = CPU_MASK_ALL, .vector = IRQ10_VECTOR, }, |
68 | [11] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 11 }, | 68 | [11] = { .domain = CPU_MASK_ALL, .vector = IRQ11_VECTOR, }, |
69 | [12] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 12 }, | 69 | [12] = { .domain = CPU_MASK_ALL, .vector = IRQ12_VECTOR, }, |
70 | [13] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 13 }, | 70 | [13] = { .domain = CPU_MASK_ALL, .vector = IRQ13_VECTOR, }, |
71 | [14] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 14 }, | 71 | [14] = { .domain = CPU_MASK_ALL, .vector = IRQ14_VECTOR, }, |
72 | [15] = { .domain = CPU_MASK_ALL, .vector = FIRST_EXTERNAL_VECTOR + 15 }, | 72 | [15] = { .domain = CPU_MASK_ALL, .vector = IRQ15_VECTOR, }, |
73 | }; | 73 | }; |
74 | 74 | ||
75 | static int assign_irq_vector(int irq, cpumask_t mask); | 75 | static int assign_irq_vector(int irq, cpumask_t mask); |