kernel/arch/h8300/kernel/traps.c
.. .. @@ -17,6 +17,7 @@ 17 17 #include <linux/types.h> 18 18 #include <linux/sched.h> 19 19 #include <linux/sched/debug.h> 20 +#include <linux/sched/task.h>20 21 #include <linux/mm_types.h> 21 22 #include <linux/kernel.h> 22 23 #include <linux/errno.h> .. .. @@ -110,7 +111,7 @@ 110 111 dump(fp); 111 112 112 113 spin_unlock_irq(&die_lock); 113 - do_exit(SIGSEGV);114 + make_task_dead(SIGSEGV);114 115 } 115 116 116 117 static int kstack_depth_to_print = 24;