From: Yinghai Lu Date: Sat, 17 Nov 2012 03:38:41 +0000 (-0800) Subject: x86, mm: Move init_memory_mapping calling out of setup.c X-Git-Tag: v3.9-rc1~105^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ddfcaa0dbae992332381d41b8a1fbc72269a13;p=pandora-kernel.git x86, mm: Move init_memory_mapping calling out of setup.c Now init_memory_mapping is called two times, later will be called for every ram ranges. Could put all related init_mem calling together and out of setup.c. Actually, it reverts commit 1bbbbe7 x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping. will address that later with complete solution include handling hole under 4g. Signed-off-by: Yinghai Lu Link: http://lkml.kernel.org/r/1353123563-3103-5-git-send-email-yinghai@kernel.org Reviewed-by: Pekka Enberg Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed