x86, mm: Unify zone_sizes_init()
authorPekka Enberg <penberg@kernel.org>
Tue, 1 Nov 2011 13:58:22 +0000 (15:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Nov 2011 09:22:55 +0000 (10:22 +0100)
commit176239153049a023d060ce95b05f7ef31667e362
treefce64421a695752fc9dfa9fa2331c11f95083146
parent248b52b97da7a712d2263a51d8d84c959f38ef75
x86, mm: Unify zone_sizes_init()

Now that zone_sizes_init() is identical on 32-bit and 64-bit,
move the code to arch/x86/mm/init.c and use it for both
architectures.

Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Link: http://lkml.kernel.org/r/1320155902-10424-7-git-send-email-penberg@kernel.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/init.h
arch/x86/mm/init.c
arch/x86/mm/init_32.c
arch/x86/mm/init_64.c