From: Vivek Goyal Date: Sat, 25 Jun 2005 21:57:51 +0000 (-0700) Subject: [PATCH] kexec: reserve Bootmem fix for booting nondefault location kernel X-Git-Tag: v2.6.13-rc1~68^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a9190853c34289d9181acd9c620c76143bf88ca;p=pandora-kernel.git [PATCH] kexec: reserve Bootmem fix for booting nondefault location kernel This patch fixes a problem with reserving memory during boot up of a kernel built for non-default location. Currently boot memory allocator reserves the memory required by kernel image, boot allocaotor bitmap etc. It assumes that kernel is loaded at 1MB (HIGH_MEMORY hard coded to 1024*1024). But kernel can be built for non-default locatoin, hence existing hardcoding will lead to reserving unnecessary memory. This patch fixes it. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed