Commit 47a251cb authored by zhangnaichuan's avatar zhangnaichuan
Browse files

x86/kdump: add log before booting crash kernel

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8RJ7E?from=project-issue


CVE: NA

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

Just like arm64, print "Bye!" before booting crash kernel.

Signed-off-by: default avatarzhangnaichuan <zhangnaichuan@huawei.com>
Signed-off-by: default avatarBin Wang <wangbin224@huawei.com>
parent a60f40a8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -338,6 +338,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