Commit a4daefe3 authored by Bin Wang's avatar Bin Wang Committed by Zheng Zengkai
Browse files

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: default avatarBin Wang <wangbin224@huawei.com>
Reviewed-by: default avatarluo chunsheng <luochunsheng@huawei.com>
Reviewed-by: default avatarYang Jihong <yangjihong1@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 9a8e35b5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -364,6 +364,8 @@ void machine_kexec(struct kimage *image)
		page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page)
						<< PAGE_SHIFT);

	pr_info("Bye!\n");

	/*
	 * The segment registers are funny things, they have both a
	 * visible and an invisible part.  Whenever the visible part is