hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/arch/h8300/kernel/traps.c
....@@ -17,6 +17,7 @@
1717 #include <linux/types.h>
1818 #include <linux/sched.h>
1919 #include <linux/sched/debug.h>
20
+#include <linux/sched/task.h>
2021 #include <linux/mm_types.h>
2122 #include <linux/kernel.h>
2223 #include <linux/errno.h>
....@@ -110,7 +111,7 @@
110111 dump(fp);
111112
112113 spin_unlock_irq(&die_lock);
113
- do_exit(SIGSEGV);
114
+ make_task_dead(SIGSEGV);
114115 }
115116
116117 static int kstack_depth_to_print = 24;