diff options
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/entry_arch.h | 4 | ||||
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 1 | ||||
-rw-r--r-- | arch/x86/include/asm/irq_vectors.h | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/include/asm/entry_arch.h b/arch/x86/include/asm/entry_arch.h index b2eb9c066843..4cdcf5a3c96b 100644 --- a/arch/x86/include/asm/entry_arch.h +++ b/arch/x86/include/asm/entry_arch.h | |||
@@ -60,4 +60,8 @@ BUILD_INTERRUPT(thermal_interrupt,THERMAL_APIC_VECTOR) | |||
60 | BUILD_INTERRUPT(threshold_interrupt,THRESHOLD_APIC_VECTOR) | 60 | BUILD_INTERRUPT(threshold_interrupt,THRESHOLD_APIC_VECTOR) |
61 | #endif | 61 | #endif |
62 | 62 | ||
63 | #ifdef CONFIG_X86_NEW_MCE | ||
64 | BUILD_INTERRUPT(mce_self_interrupt,MCE_SELF_VECTOR) | ||
65 | #endif | ||
66 | |||
63 | #endif | 67 | #endif |
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index a7d14bbae110..4e59197e29ba 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -32,6 +32,7 @@ extern void error_interrupt(void); | |||
32 | extern void spurious_interrupt(void); | 32 | extern void spurious_interrupt(void); |
33 | extern void thermal_interrupt(void); | 33 | extern void thermal_interrupt(void); |
34 | extern void reschedule_interrupt(void); | 34 | extern void reschedule_interrupt(void); |
35 | extern void mce_self_interrupt(void); | ||
35 | 36 | ||
36 | extern void invalidate_interrupt(void); | 37 | extern void invalidate_interrupt(void); |
37 | extern void invalidate_interrupt0(void); | 38 | extern void invalidate_interrupt0(void); |
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index 8c46b851296a..68f7cf84a333 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h | |||
@@ -118,6 +118,11 @@ | |||
118 | #define GENERIC_INTERRUPT_VECTOR 0xed | 118 | #define GENERIC_INTERRUPT_VECTOR 0xed |
119 | 119 | ||
120 | /* | 120 | /* |
121 | * Self IPI vector for machine checks | ||
122 | */ | ||
123 | #define MCE_SELF_VECTOR 0xeb | ||
124 | |||
125 | /* | ||
121 | * First APIC vector available to drivers: (vectors 0x30-0xee) we | 126 | * First APIC vector available to drivers: (vectors 0x30-0xee) we |
122 | * start at 0x31(0x41) to spread out vectors evenly between priority | 127 | * start at 0x31(0x41) to spread out vectors evenly between priority |
123 | * levels. (0x80 is the syscall vector) | 128 | * levels. (0x80 is the syscall vector) |