[PATCH 4/8] x86 - Specify amount of kernel memory at boot time

From: Mel Gorman
Date: Thu Mar 01 2007 - 05:09:54 EST



This patch adds the kernelcore= parameter for x86.

Signed-off-by: Mel Gorman <mel@xxxxxxxxx>
---

setup.c | 1 +
1 files changed, 1 insertion(+)

diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-mm2-003_mark_hugepages_movable/arch/i386/kernel/setup.c linux-2.6.20-mm2-004_x86_set_kernelcore/arch/i386/kernel/setup.c
--- linux-2.6.20-mm2-003_mark_hugepages_movable/arch/i386/kernel/setup.c 2007-02-19 01:19:26.000000000 +0000
+++ linux-2.6.20-mm2-004_x86_set_kernelcore/arch/i386/kernel/setup.c 2007-02-19 09:15:29.000000000 +0000
@@ -195,6 +195,7 @@ static int __init parse_mem(char *arg)
return 0;
}
early_param("mem", parse_mem);
+early_param("kernelcore", cmdline_parse_kernelcore);

#ifdef CONFIG_PROC_VMCORE
/* elfcorehdr= specifies the location of elf core header
-
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/