]> git.karo-electronics.de Git - linux-beck.git/commit
x86: Make 64 bit use early_res instead of bootmem before slab
authorYinghai Lu <yinghai@kernel.org>
Wed, 10 Feb 2010 09:20:20 +0000 (01:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 12 Feb 2010 17:41:59 +0000 (09:41 -0800)
commit08677214e318297f228237be0042aac754f48f1d
tree6d03424f7e287fcf66136b44512328afb1aeee49
parentc252a5bb1f57afb1e336d68085217727ca7b2134
x86: Make 64 bit use early_res instead of bootmem before slab

Finally we can use early_res to replace bootmem for x86_64 now.

Still can use CONFIG_NO_BOOTMEM to enable it or not.

-v2: fix 32bit compiling about MAX_DMA32_PFN
-v3: folded bug fix from LKML message below

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B747239.4070907@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 files changed:
arch/x86/Kconfig
arch/x86/include/asm/e820.h
arch/x86/kernel/e820.c
arch/x86/kernel/setup.c
arch/x86/mm/init_64.c
arch/x86/mm/numa_64.c
include/linux/bootmem.h
include/linux/mm.h
include/linux/mmzone.h
mm/bootmem.c
mm/page_alloc.c
mm/percpu.c
mm/sparse-vmemmap.c