]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1b50d774c6c8ace968cc233a41795dab1de00b19
tree2340347d10fd0e564fb8527efe3ffbcb216e1906
parent93a7b8cbbfba13bd77814771a7c5887cae168fc9
[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