aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/i8259.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-01-11 16:45:54 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 22:05:00 -0500
commit915f34e20c20ee383832bce0a4bc962d0c86be8d (patch)
tree2e1914cc129361d15e0ad8d888913a0623aef80b /arch/x86_64/kernel/i8259.c
parente080e9d66fd276ed34bc2834eedc134189b87fc9 (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 'arch/x86_64/kernel/i8259.c')
-rw-r--r--arch/x86_64/kernel/i8259.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c
index 6e5101ad3d1a..b61965f0fb34 100644
--- a/arch/x86_64/kernel/i8259.c
+++ b/arch/x86_64/kernel/i8259.c
@@ -549,10 +549,9 @@ void __init init_IRQ(void)
549 int vector = FIRST_EXTERNAL_VECTOR + i; 549 int vector = FIRST_EXTERNAL_VECTOR + i;
550 if (i >= NR_IRQS) 550 if (i >= NR_IRQS)
551 break; 551 break;
552 if (vector != IA32_SYSCALL_VECTOR && vector != KDB_VECTOR) { 552 if (vector != IA32_SYSCALL_VECTOR)
553 set_intr_gate(vector, interrupt[i]); 553 set_intr_gate(vector, interrupt[i]);
554 } 554 }
555 }
556 555
557#ifdef CONFIG_SMP 556#ifdef CONFIG_SMP
558 /* 557 /*