From e10b5e3d5659105da2c0f0c5cb7bda5458f9bbb8 Mon Sep 17 00:00:00 2001 From: Kirtikar Kashyap Date: Mon, 30 Oct 2017 16:19:10 -0700 Subject: [PATCH] x86/platform/uv: Fix kdump for UV With uv_nmi.action=kdump on the boot line, "power nmi" does not kdump. Instead it produces backtraces (the default "dump" action). One line from upstream commit 2965faa5e03d ("kexec: split kexec_load syscall from kexec core code") was inadvertantly applied to arch/x86/platform/uv/uv_nmi.c, but the rest of the commit is missing. The UEK kernel does not have any of the other CONFIG_KEXEC_CORE related changes in it, so this breaks uv_nmi Orabug: 27031345 Signed-off-by: Kirtikar Kashyap Reviewed-by: Brian Maly --- arch/x86/platform/uv/uv_nmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/platform/uv/uv_nmi.c b/arch/x86/platform/uv/uv_nmi.c index 5b187dc144055..cd5609c8681d1 100644 --- a/arch/x86/platform/uv/uv_nmi.c +++ b/arch/x86/platform/uv/uv_nmi.c @@ -498,7 +498,7 @@ static void uv_nmi_touch_watchdogs(void) static atomic_t uv_nmi_kexec_failed; -#if defined(CONFIG_KEXEC_CORE) +#if defined(CONFIG_KEXEC) static void uv_nmi_kdump(int cpu, int master, struct pt_regs *regs) { /* Call crash to dump system state */ -- 2.50.1