projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
415c2e0
)
powerpc: Fix compile error when CONFIG_PROC_VMCORE is not defined
author
Paul Mackerras
<paulus@samba.org>
Wed, 11 Jan 2006 04:30:07 +0000
(15:30 +1100)
committer
Paul Mackerras
<paulus@samba.org>
Wed, 11 Jan 2006 04:30:07 +0000
(15:30 +1100)
We were getting elfcorehdr_addr undefined in this case.
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/crash_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/crash_dump.c
b/arch/powerpc/kernel/crash_dump.c
index 87effa3f21a70db3efc49668567a2892f440a98b..211d72653ea684c6324557907abd29238eea237d 100644
(file)
--- a/
arch/powerpc/kernel/crash_dump.c
+++ b/
arch/powerpc/kernel/crash_dump.c
@@
-55,6
+55,7
@@
void __init kdump_setup(void)
DBG(" <- kdump_setup()\n");
}
+#ifdef CONFIG_PROC_VMCORE
static int __init parse_elfcorehdr(char *p)
{
if (p)
@@
-63,6
+64,7
@@
static int __init parse_elfcorehdr(char *p)
return 0;
}
__setup("elfcorehdr=", parse_elfcorehdr);
+#endif
static int __init parse_savemaxmem(char *p)
{