mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
[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>
This commit is contained in:
parent
05a0416be2
commit
65e458d43d
3 changed files with 4 additions and 22 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue