]> err.no Git - linux-2.6/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)
commit27bf71c2a7e596ed34e9bf2d4a5030321a09a1ad
tree30aca46595486b7a9d69d2d2f58b305cf32f41d9
parente53ef38d05dd59ed281a35590e4a5b64d8ff4c52
[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