forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/ia64/kernel/mca_drv.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * File: mca_drv.c
34 * Purpose: Generic MCA handling layer
....@@ -14,7 +15,7 @@
1415 #include <linux/interrupt.h>
1516 #include <linux/irq.h>
1617 #include <linux/kallsyms.h>
17
-#include <linux/bootmem.h>
18
+#include <linux/memblock.h>
1819 #include <linux/acpi.h>
1920 #include <linux/timer.h>
2021 #include <linux/module.h>
....@@ -25,7 +26,6 @@
2526 #include <linux/slab.h>
2627
2728 #include <asm/delay.h>
28
-#include <asm/machvec.h>
2929 #include <asm/page.h>
3030 #include <asm/ptrace.h>
3131 #include <asm/sal.h>
....@@ -176,7 +176,7 @@
176176 spin_unlock(&mca_bh_lock);
177177
178178 /* This process is about to be killed itself */
179
- do_exit(SIGKILL);
179
+ make_task_dead(SIGKILL);
180180 }
181181
182182 /**