Re: 2.6.15-rc1-mm2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux