diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-02-10 10:43:05 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 19:51:18 +0100 |
commit | 65e458d43dff872ee560e721fb0fdb367bb5adb0 (patch) | |
tree | e903ec97a4a6c0ee952108b696387ef098a6a80c /fs/proc/proc_misc.c | |
parent | [PATCH] Drop __get_zone_counts() (diff) | |
download | linux-65e458d43dff872ee560e721fb0fdb367bb5adb0.tar.xz linux-65e458d43dff872ee560e721fb0fdb367bb5adb0.zip |
[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/proc/proc_misc.c')
-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 b37ce33f67ea..1d5b4fb2c725 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), |