[PATCH] uml: fix hardcoded ZONE_* constants in zone setup
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Mon, 7 Nov 2005 08:58:58 +0000 (00:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:32 +0000 (07:53 -0800)
commit353f8d1cd5b8540c1591f00a5cbd3aeca699cfcf
tree4bd57d623792b6dc912d6aaed4f6e3b601ce5963
parent77cc0db46e5d04b476e1984134892edb86cda8e6
[PATCH] uml: fix hardcoded ZONE_* constants in zone setup

Remove usage of hardcoded constants in paging_init().

By chance I spotted a bug in zones_setup involving a change to ZONE_*
constants, due to the ZONE_DMA32 patch from Andi Kleen (which is in -mm).
So, possibly, instead of zones_size[2] you will find zones_size[3] in the
code, but that change is wrong and this patch is still correct.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/kernel/mem.c