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 /arch/x86_64/kernel/traps.c | |
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 'arch/x86_64/kernel/traps.c')
-rw-r--r-- | arch/x86_64/kernel/traps.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 0827b141c05e..5dee23ba074e 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c | |||
@@ -910,11 +910,6 @@ asmlinkage void math_state_restore(void) | |||
910 | me->thread_info->status |= TS_USEDFPU; | 910 | me->thread_info->status |= TS_USEDFPU; |
911 | } | 911 | } |
912 | 912 | ||
913 | void do_call_debug(struct pt_regs *regs) | ||
914 | { | ||
915 | notify_die(DIE_CALL, "debug call", regs, 0, 255, SIGINT); | ||
916 | } | ||
917 | |||
918 | void __init trap_init(void) | 913 | void __init trap_init(void) |
919 | { | 914 | { |
920 | set_intr_gate(0,÷_error); | 915 | set_intr_gate(0,÷_error); |
@@ -944,8 +939,6 @@ void __init trap_init(void) | |||
944 | set_system_gate(IA32_SYSCALL_VECTOR, ia32_syscall); | 939 | set_system_gate(IA32_SYSCALL_VECTOR, ia32_syscall); |
945 | #endif | 940 | #endif |
946 | 941 | ||
947 | set_intr_gate(KDB_VECTOR, call_debug); | ||
948 | |||
949 | /* | 942 | /* |
950 | * Should be a barrier for any external CPU state. | 943 | * Should be a barrier for any external CPU state. |
951 | */ | 944 | */ |