x86: fix bootmem cross node for 32bit numa
authorYinghai Lu <yinghai@kernel.org>
Wed, 4 Mar 2009 09:22:35 +0000 (01:22 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Mar 2009 19:55:03 +0000 (20:55 +0100)
commita71edd1f46c8a599509bda478fb4eea27fb0da63
treefba6a512878a5b67b3b5f5fa5024e30d0db7407d
parent6d2e91bf80e4410207f01edb0962aec9213f3533
x86: fix bootmem cross node for 32bit numa

Impact: fix panic on system 2g x4 sockets

Found one system with 4 sockets and every sockets has 2g can not boot
with numa32 because boot mem is crossing nodes.

So try to have numa version of setup_bootmem_allocator().

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <49AE485B.8000902@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_32.c
arch/x86/mm/numa_32.c