kernel/arch/x86/kernel/traps.c
.. .. @@ -917,9 +917,6 @@ 917 917 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs)) 918 918 dr6 &= ~DR_STEP; 919 919 920 - if (kprobe_debug_handler(regs))921 - goto out;922 -923 920 /* 924 921 * The kernel doesn't use INT1 925 922 */ .. .. @@ -1185,9 +1182,7 @@ 1185 1182 1186 1183 idt_setup_traps(); 1187 1184 1188 - /*1189 - * Should be a barrier for any external CPU state:1190 - */1185 + cpu_init_exception_handling();1191 1186 cpu_init(); 1192 1187 1193 1188 idt_setup_ist_traps();