[PATCH] reduce MAX_NR_ZONES: use enum to define zones, reformat and comment
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:13 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:46 +0000 (08:48 -0700)
commit2f1b6248682f8b39ca3c7e549dfc216d26c4109b
tree2340347d10fd0e564fb8527efe3ffbcb216e1906
parent98d2b0ebda72fc39cdefd3720d50b9b3ce409085
[PATCH] reduce MAX_NR_ZONES: use enum to define zones, reformat and comment

Use enum for zones and reformat zones dependent information

Add comments explaning the use of zones and add a zones_t type for zone
numbers.

Line up information that will be #ifdefd by the following patches.

[akpm@osdl.org: comment cleanups]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mm.h
include/linux/mmzone.h
mm/page_alloc.c