diff options
Diffstat (limited to 'arch/s390/appldata/appldata_mem.c')
-rw-r--r-- | arch/s390/appldata/appldata_mem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/appldata/appldata_mem.c b/arch/s390/appldata/appldata_mem.c index 7915a197d96d..180ba79a6267 100644 --- a/arch/s390/appldata/appldata_mem.c +++ b/arch/s390/appldata/appldata_mem.c | |||
@@ -130,7 +130,8 @@ static void appldata_get_mem_data(void *data) | |||
130 | mem_data->totalhigh = P2K(val.totalhigh); | 130 | mem_data->totalhigh = P2K(val.totalhigh); |
131 | mem_data->freehigh = P2K(val.freehigh); | 131 | mem_data->freehigh = P2K(val.freehigh); |
132 | mem_data->bufferram = P2K(val.bufferram); | 132 | mem_data->bufferram = P2K(val.bufferram); |
133 | mem_data->cached = P2K(atomic_read(&nr_pagecache) - val.bufferram); | 133 | mem_data->cached = P2K(global_page_state(NR_FILE_PAGES) |
134 | - val.bufferram); | ||
134 | 135 | ||
135 | si_swapinfo(&val); | 136 | si_swapinfo(&val); |
136 | mem_data->totalswap = P2K(val.totalswap); | 137 | mem_data->totalswap = P2K(val.totalswap); |