From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mel Gorman Message-Id: <20070125234718.28809.13010.sendpatchset@skynet.skynet.ie> In-Reply-To: <20070125234458.28809.5412.sendpatchset@skynet.skynet.ie> References: <20070125234458.28809.5412.sendpatchset@skynet.skynet.ie> Subject: [PATCH 7/8] ia64 - Specify amount of kernel memory at boot time Date: Thu, 25 Jan 2007 23:47:18 +0000 (GMT) Sender: owner-linux-mm@kvack.org Return-Path: To: linux-mm@kvack.org Cc: Mel Gorman , linux-kernel@vger.kernel.org List-ID: This patch adds the kernelcore= parameter for ia64. Signed-off-by: Mel Gorman --- efi.c | 3 +++ 1 files changed, 3 insertions(+) diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.20-rc4-mm1-006_x8664_set_kernelcore/arch/ia64/kernel/efi.c linux-2.6.20-rc4-mm1-007_ia64_set_kernelcore/arch/ia64/kernel/efi.c --- linux-2.6.20-rc4-mm1-006_x8664_set_kernelcore/arch/ia64/kernel/efi.c 2007-01-07 05:45:51.000000000 +0000 +++ linux-2.6.20-rc4-mm1-007_ia64_set_kernelcore/arch/ia64/kernel/efi.c 2007-01-25 17:42:15.000000000 +0000 @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -422,6 +423,8 @@ efi_init (void) mem_limit = memparse(cp + 4, &cp); } else if (memcmp(cp, "max_addr=", 9) == 0) { max_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); + } else if (memcmp(cp, "kernelcore=",11) == 0) { + cmdline_parse_kernelcore(cp+11); } else if (memcmp(cp, "min_addr=", 9) == 0) { min_addr = GRANULEROUNDDOWN(memparse(cp + 9, &cp)); } else { -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org