[PATCH 6/8] x86_64 - Specify amount of kernel memory at boot time
From: Mel Gorman
Date: Thu Mar 01 2007 - 05:10:54 EST
This patch adds the kernelcore= parameter for x86_64.
Signed-off-by: Mel Gorman <mel@xxxxxxxxx>
---
e820.c | 1 +
1 files changed, 1 insertion(+)
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/x86_64/kernel/e820.c linux-2.6.20-mm2-006_x8664_set_kernelcore/arch/x86_64/kernel/e820.c
--- linux-2.6.20-mm2-005_ppc64_set_kernelcore/arch/x86_64/kernel/e820.c 2007-02-19 01:19:38.000000000 +0000
+++ linux-2.6.20-mm2-006_x8664_set_kernelcore/arch/x86_64/kernel/e820.c 2007-02-19 09:19:53.000000000 +0000
@@ -617,6 +617,7 @@ static int __init parse_memopt(char *p)
return 0;
}
early_param("mem", parse_memopt);
+early_param("kernelcore", cmdline_parse_kernelcore);
static int userdef __initdata;
-
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/