From: Yinghai Lu Date: Tue, 3 Mar 2009 07:36:13 +0000 (-0800) Subject: x86: fix init_memory_mapping() to handle small ranges X-Git-Tag: v2.6.29-rc7~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fc59d3a01820765e5f3a723733728758b0cf577;p=pandora-kernel.git x86: fix init_memory_mapping() to handle small ranges Impact: fix failed EFI bootup in certain circumstances Ying Huang found init_memory_mapping() has problem with small ranges less than 2M when he tried to direct map the EFI runtime code out of max_low_pfn_mapped. It turns out we never considered that case and didn't check the range... Reported-by: Ying Huang Signed-off-by: Yinghai Lu Cc: Brian Maly LKML-Reference: <49ACDDED.1060508@kernel.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed