提交 a4daefe3 编写于 作者: B Bin Wang 提交者: Zheng Zengkai

x86/kdump: add log before booting crash kernel

from euler inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4S9W4?from=project-issue
CVE: NA

---------------------------

Just like arm64, print "Bye!" before booting crash kernel.
Signed-off-by: NBin Wang <wangbin224@huawei.com>
Reviewed-by: Nluo chunsheng <luochunsheng@huawei.com>
Reviewed-by: NYang Jihong <yangjihong1@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 9a8e35b5
...@@ -364,6 +364,8 @@ void machine_kexec(struct kimage *image) ...@@ -364,6 +364,8 @@ void machine_kexec(struct kimage *image)
page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page) page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page)
<< PAGE_SHIFT); << PAGE_SHIFT);
pr_info("Bye!\n");
/* /*
* The segment registers are funny things, they have both a * The segment registers are funny things, they have both a
* visible and an invisible part. Whenever the visible part is * visible and an invisible part. Whenever the visible part is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册