summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/setup.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-07-05 13:56:25 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-31 14:26:01 +1000
commita3b2cb30f252b21a6f962e0dd107c8b897ca65e4 (patch)
treebf86a40c29ce9aebfdb76284435a8f09badaf818 /arch/powerpc/include/asm/setup.h
parent70412c55d419e971785094e9f7880fdbcd690520 (diff)
downloadlinux-a3b2cb30f252b21a6f962e0dd107c8b897ca65e4.tar.bz2
powerpc: Do not call ppc_md.panic in fadump panic notifier
If fadump is not registered, and no other crash or debug handlers are registered, the powerpc panic handler stops the guest before the generic panic code can push out debug information to the console. Currently, system reset injection causes the guest to silently stop. Stop calling ppc_md.panic in the panic notifier. crash_fadump already does rtas_os_term() to terminate the guest if fadump is registered. Remove ppc_md.panic. Move fadump panic notifier into fadump code. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/setup.h')
-rw-r--r--arch/powerpc/include/asm/setup.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h
index 654d64c9f3ac..3a3fb0ca68f5 100644
--- a/arch/powerpc/include/asm/setup.h
+++ b/arch/powerpc/include/asm/setup.h
@@ -23,7 +23,6 @@ extern void reloc_got2(unsigned long);
void check_for_initrd(void);
void initmem_init(void);
-void setup_panic(void);
#define ARCH_PANIC_TIMEOUT 180
#ifdef CONFIG_PPC_PSERIES