]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] reduce MAX_NR_ZONES: remove display of counters for unconfigured zones
authorChristoph Lameter <clameter@sgi.com>
Tue, 26 Sep 2006 06:31:15 +0000 (23:31 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Sep 2006 15:48:47 +0000 (08:48 -0700)
commitaaaa942b7fd3f7f8cf8f07ac74c71439fd7e5616
tree30aca46595486b7a9d69d2d2f58b305cf32f41d9
parenta5a59acb61d47db2e3081ae6a2b06b447f64c928
[PATCH] reduce MAX_NR_ZONES: remove display of counters for unconfigured zones

eventcounters: Do not display counters for zones that are not available on an
arch

Do not define or display counters for the DMA32 and the HIGHMEM zone if such
zones were not configured.

[akpm@osdl.org: s390 fix]
[heiko.carstens@de.ibm.com: s390 fix]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/s390/appldata/appldata_mem.c
include/linux/vmstat.h
mm/vmstat.c