diff options
Diffstat (limited to 'include/asm-x86/irq_vectors.h')
-rw-r--r-- | include/asm-x86/irq_vectors.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/asm-x86/irq_vectors.h b/include/asm-x86/irq_vectors.h index 90b1d1f12f08..a48c7f2dbdc0 100644 --- a/include/asm-x86/irq_vectors.h +++ b/include/asm-x86/irq_vectors.h | |||
@@ -76,6 +76,7 @@ | |||
76 | #define CALL_FUNCTION_SINGLE_VECTOR 0xfb | 76 | #define CALL_FUNCTION_SINGLE_VECTOR 0xfb |
77 | #define THERMAL_APIC_VECTOR 0xfa | 77 | #define THERMAL_APIC_VECTOR 0xfa |
78 | #define THRESHOLD_APIC_VECTOR 0xf9 | 78 | #define THRESHOLD_APIC_VECTOR 0xf9 |
79 | #define UV_BAU_MESSAGE 0xf8 | ||
79 | #define INVALIDATE_TLB_VECTOR_END 0xf7 | 80 | #define INVALIDATE_TLB_VECTOR_END 0xf7 |
80 | #define INVALIDATE_TLB_VECTOR_START 0xf0 /* f0-f7 used for TLB flush */ | 81 | #define INVALIDATE_TLB_VECTOR_START 0xf0 /* f0-f7 used for TLB flush */ |
81 | 82 | ||
@@ -109,7 +110,15 @@ | |||
109 | #define LAST_VM86_IRQ 15 | 110 | #define LAST_VM86_IRQ 15 |
110 | #define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) | 111 | #define invalid_vm86_irq(irq) ((irq) < 3 || (irq) > 15) |
111 | 112 | ||
112 | #if !defined(CONFIG_X86_VOYAGER) | 113 | #ifdef CONFIG_X86_64 |
114 | # if NR_CPUS < MAX_IO_APICS | ||
115 | # define NR_IRQS (NR_VECTORS + (32 * NR_CPUS)) | ||
116 | # else | ||
117 | # define NR_IRQS (NR_VECTORS + (32 * MAX_IO_APICS)) | ||
118 | # endif | ||
119 | # define NR_IRQ_VECTORS NR_IRQS | ||
120 | |||
121 | #elif !defined(CONFIG_X86_VOYAGER) | ||
113 | 122 | ||
114 | # if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS) | 123 | # if defined(CONFIG_X86_IO_APIC) || defined(CONFIG_PARAVIRT) || defined(CONFIG_X86_VISWS) |
115 | 124 | ||