[PATCH] powerpc: Kdump header cleanup
We need to know the base address of the kdump kernel even when we're not a kdump kernel, so add a #define for it. Move the logic that sets the kdump kernelbase into kdump.h instead of page.h. Rename kdump_setup() to setup_kdump_trampoline() to make it clearer what it's doing, and add an empty definition for the !CRASH_DUMP case to avoid a Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
2babf5c2ec
commit
473104134b
@@ -193,9 +193,7 @@ void __init early_setup(unsigned long dt_ptr)
|
||||
/* Probe the machine type */
|
||||
probe_machine();
|
||||
|
||||
#ifdef CONFIG_CRASH_DUMP
|
||||
kdump_setup();
|
||||
#endif
|
||||
setup_kdump_trampoline();
|
||||
|
||||
DBG("Found, Initializing memory management...\n");
|
||||
|
||||
|
Reference in New Issue
Block a user