From: Paolo 'Blaisorblade' Giarrusso Date: Mon, 7 Nov 2005 08:58:58 +0000 (-0800) Subject: [PATCH] uml: fix hardcoded ZONE_* constants in zone setup X-Git-Tag: v2.6.15-rc1~654 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=353f8d1cd5b8540c1591f00a5cbd3aeca699cfcf;p=pandora-kernel.git [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 Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed