diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-02-10 01:43:05 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 10:51:18 -0800 |
commit | 65e458d43dff872ee560e721fb0fdb367bb5adb0 (patch) | |
tree | e903ec97a4a6c0ee952108b696387ef098a6a80c /fs | |
parent | 05a0416be2b88d859efcbc4a4290555a04d169a1 (diff) | |
download | op-kernel-dev-65e458d43dff872ee560e721fb0fdb367bb5adb0.zip op-kernel-dev-65e458d43dff872ee560e721fb0fdb367bb5adb0.tar.gz |
[PATCH] Drop get_zone_counts()
Values are available via ZVC sums.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/proc_misc.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index b37ce33..1d5b4fb 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c @@ -121,16 +121,11 @@ static int meminfo_read_proc(char *page, char **start, off_t off, { struct sysinfo i; int len; - unsigned long inactive; - unsigned long active; - unsigned long free; unsigned long committed; unsigned long allowed; struct vmalloc_info vmi; long cached; - get_zone_counts(&active, &inactive, &free); - /* * display in kilobytes. */ @@ -187,8 +182,8 @@ static int meminfo_read_proc(char *page, char **start, off_t off, K(i.bufferram), K(cached), K(total_swapcache_pages), - K(active), - K(inactive), + K(global_page_state(NR_ACTIVE)), + K(global_page_state(NR_INACTIVE)), #ifdef CONFIG_HIGHMEM K(i.totalhigh), K(i.freehigh), |