aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/crash_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/crash_dump.c')
-rw-r--r--arch/powerpc/kernel/crash_dump.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/crash_dump.c b/arch/powerpc/kernel/crash_dump.c
index 87effa3f21a7..211d72653ea6 100644
--- a/arch/powerpc/kernel/crash_dump.c
+++ b/arch/powerpc/kernel/crash_dump.c
@@ -55,6 +55,7 @@ void __init kdump_setup(void)
55 DBG(" <- kdump_setup()\n"); 55 DBG(" <- kdump_setup()\n");
56} 56}
57 57
58#ifdef CONFIG_PROC_VMCORE
58static int __init parse_elfcorehdr(char *p) 59static int __init parse_elfcorehdr(char *p)
59{ 60{
60 if (p) 61 if (p)
@@ -63,6 +64,7 @@ static int __init parse_elfcorehdr(char *p)
63 return 0; 64 return 0;
64} 65}
65__setup("elfcorehdr=", parse_elfcorehdr); 66__setup("elfcorehdr=", parse_elfcorehdr);
67#endif
66 68
67static int __init parse_savemaxmem(char *p) 69static int __init parse_savemaxmem(char *p)
68{ 70{