hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/arch/x86/kernel/traps.c
....@@ -917,9 +917,6 @@
917917 if ((dr6 & DR_STEP) && is_sysenter_singlestep(regs))
918918 dr6 &= ~DR_STEP;
919919
920
- if (kprobe_debug_handler(regs))
921
- goto out;
922
-
923920 /*
924921 * The kernel doesn't use INT1
925922 */
....@@ -1185,9 +1182,7 @@
11851182
11861183 idt_setup_traps();
11871184
1188
- /*
1189
- * Should be a barrier for any external CPU state:
1190
- */
1185
+ cpu_init_exception_handling();
11911186 cpu_init();
11921187
11931188 idt_setup_ist_traps();