diff options
author | Andi Kleen <ak@suse.de> | 2006-01-11 16:45:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:05:00 -0500 |
commit | 915f34e20c20ee383832bce0a4bc962d0c86be8d (patch) | |
tree | 2e1914cc129361d15e0ad8d888913a0623aef80b /include/asm-x86_64 | |
parent | e080e9d66fd276ed34bc2834eedc134189b87fc9 (diff) |
[PATCH] x86_64: Remove useless KDB vector
It was set as an NMI, but the NMI bit always forces an interrupt
to end up at vector 2. So it was never used. Remove.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/hw_irq.h | 3 | ||||
-rw-r--r-- | include/asm-x86_64/ipi.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h index b248930767e7..0df1715dee71 100644 --- a/include/asm-x86_64/hw_irq.h +++ b/include/asm-x86_64/hw_irq.h | |||
@@ -51,7 +51,8 @@ struct hw_interrupt_type; | |||
51 | #define ERROR_APIC_VECTOR 0xfe | 51 | #define ERROR_APIC_VECTOR 0xfe |
52 | #define RESCHEDULE_VECTOR 0xfd | 52 | #define RESCHEDULE_VECTOR 0xfd |
53 | #define CALL_FUNCTION_VECTOR 0xfc | 53 | #define CALL_FUNCTION_VECTOR 0xfc |
54 | #define KDB_VECTOR 0xfb /* reserved for KDB */ | 54 | /* fb free - please don't readd KDB here because it's useless |
55 | (hint - think what a NMI bit does to a vector) */ | ||
55 | #define THERMAL_APIC_VECTOR 0xfa | 56 | #define THERMAL_APIC_VECTOR 0xfa |
56 | #define THRESHOLD_APIC_VECTOR 0xf9 | 57 | #define THRESHOLD_APIC_VECTOR 0xf9 |
57 | /* f8 free */ | 58 | /* f8 free */ |
diff --git a/include/asm-x86_64/ipi.h b/include/asm-x86_64/ipi.h index 022e9d340ad7..2a5c162b7d92 100644 --- a/include/asm-x86_64/ipi.h +++ b/include/asm-x86_64/ipi.h | |||
@@ -38,10 +38,6 @@ static inline unsigned int __prepare_ICR (unsigned int shortcut, int vector, uns | |||
38 | icr |= APIC_DM_FIXED | vector; | 38 | icr |= APIC_DM_FIXED | vector; |
39 | break; | 39 | break; |
40 | case NMI_VECTOR: | 40 | case NMI_VECTOR: |
41 | /* | ||
42 | * Setup KDB IPI to be delivered as an NMI | ||
43 | */ | ||
44 | case KDB_VECTOR: | ||
45 | icr |= APIC_DM_NMI; | 41 | icr |= APIC_DM_NMI; |
46 | break; | 42 | break; |
47 | } | 43 | } |