From: Yinghai Lu Date: Tue, 24 Nov 2009 10:48:18 +0000 (-0800) Subject: x86: Move find_smp_config() earlier and avoid bootmem usage X-Git-Tag: v2.6.33-rc1~374^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b24c2a925a9837cccf54d50aeac22ba0cbc15455;p=pandora-kernel.git x86: Move find_smp_config() earlier and avoid bootmem usage Move the find_smp_config() call to before bootmem is initialized. Use reserve_early() instead of reserve_bootmem() in it. This simplifies the code, we only need to call find_smp_config() once and can remove the now unneeded reserve parameter from x86_init_mpparse::find_smp_config. We thus also reduce x86's dependency on bootmem allocations. Signed-off-by: Yinghai Lu LKML-Reference: <4B0BB9F2.70907@kernel.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed