]> err.no Git - linux-2.6/commit
x86: clean up using max_low_pfn on 32-bit
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 23 Jun 2008 10:05:30 +0000 (03:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:50:20 +0000 (12:50 +0200)
commit2ec65f8b89ea003c27ff7723525a2ee335a2b393
tree9b8718be2017f619b2a0185492315b85ea1731fa
parentbef1568d9714f1162086c32583ba7984a7ca8e3e
x86: clean up using max_low_pfn on 32-bit

so that max_low_pfn is not changed after it is set.
so we can move that early and out of initmem_init.

could call find_low_pfn_range just after max_pfn is set.

also could move reserve_initrd out of setup_bootmem_allocator

so 32bit is more like 64bit.

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/discontig_32.c
arch/x86/mm/init_32.c
include/asm-x86/page_32.h
include/asm-x86/setup.h