Re: 2.6.15-rc1-mm2

From: Wu Fengguang
Date: Fri Nov 18 2005 - 05:54:04 EST


Hi,

This patch should fix a link error:

arch/i386/kernel/built-in.o: In function `parse_cmdline_early':
: undefined reference to `elfcorehdr_addr'
arch/i386/kernel/built-in.o: In function `parse_cmdline_early':
: undefined reference to `elfcorehdr_addr'

Regards,
Wu
---

arch/i386/kernel/setup.c | 2 +-
arch/x86_64/kernel/setup.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.15-rc1-mm2.orig/arch/i386/kernel/setup.c
+++ linux-2.6.15-rc1-mm2/arch/i386/kernel/setup.c
@@ -898,7 +898,7 @@ static void __init parse_cmdline_early (
}
}
#endif
-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_PROC_VMCORE
/* elfcorehdr= specifies the location of elf core header
* stored by the crashed kernel.
*/
--- linux-2.6.15-rc1-mm2.orig/arch/x86_64/kernel/setup.c
+++ linux-2.6.15-rc1-mm2/arch/x86_64/kernel/setup.c
@@ -418,7 +418,7 @@ static __init void parse_cmdline_early (
}
#endif

-#ifdef CONFIG_CRASH_DUMP
+#ifdef CONFIG_PROC_VMCORE
/* elfcorehdr= specifies the location of elf core header
* stored by the crashed kernel. This option will be passed
* by kexec loader to the capture kernel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/