forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/arch/powerpc/platforms/8xx/machine_check.c
....@@ -1,8 +1,5 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
2
- * This program is free software; you can redistribute it and/or
3
- * modify it under the terms of the GNU General Public License
4
- * as published by the Free Software Foundation; either version
5
- * 2 of the License, or (at your option) any later version.
63 */
74
85 #include <linux/kernel.h>
....@@ -18,9 +15,9 @@
1815 pr_err("Machine check in kernel mode.\n");
1916 pr_err("Caused by (from SRR1=%lx): ", reason);
2017 if (reason & 0x40000000)
21
- pr_err("Fetch error at address %lx\n", regs->nip);
18
+ pr_cont("Fetch error at address %lx\n", regs->nip);
2219 else
23
- pr_err("Data access error at address %lx\n", regs->dar);
20
+ pr_cont("Data access error at address %lx\n", regs->dar);
2421
2522 #ifdef CONFIG_PCI
2623 /* the qspan pci read routines can cause machine checks -- Cort