From: Alexander van Heukelum Date: Wed, 23 Apr 2008 13:09:05 +0000 (+0200) Subject: x86: move i386 memory setup code to e820_32.c X-Git-Tag: v2.6.27-rc1~1106^2~247^2~107 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dbfafa5fcd4dd189e2adc7b6ed9e0405e846d79;p=pandora-kernel.git x86: move i386 memory setup code to e820_32.c The x86_64 code has centralized the memory setup code in e820_64.c. This patch copies that approach to i386: - early_param("mem", ...) parsing is moved from setup_32.c to e820_32.c. - setup_memory_map() and finish_e820_parsing() are factored out from setup_arch(), and declarations are added to e820_32.h. - print_memory_map() is made static and removed from e820_32.h. - user_defined_memmap is marked as __initdata. Signed-off-by: Alexander van Heukelum Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed