aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/kernel/traps.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/traps.c')
-rw-r--r--arch/x86_64/kernel/traps.c7
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
913void do_call_debug(struct pt_regs *regs)
914{
915 notify_die(DIE_CALL, "debug call", regs, 0, 255, SIGINT);
916}
917
918void __init trap_init(void) 913void __init trap_init(void)
919{ 914{
920 set_intr_gate(0,&divide_error); 915 set_intr_gate(0,&divide_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 */