x86: move some func calling from setup_arch to paging_init
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 24 Jun 2008 02:51:10 +0000 (19:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:50:24 +0000 (12:50 +0200)
commit11cd0bc140b5d66566c9eb49c1058737888cd75c
treeabbbeb1847a2fd6dc6998fefef656baf20efd089
parentc09434571d4b1d8abf530ba4ce28cb868b45f2e5
x86: move some func calling from setup_arch to paging_init

those function depend on paging setup pgtable, so they could access
the ram in bootmem region but just get mapped.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_32.c
arch/x86/mm/init_32.c
include/asm-x86/setup.h