diff options
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/proc_misc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/proc/proc_misc.c b/fs/proc/proc_misc.c index 942156225447..caa0a51560a0 100644 --- a/fs/proc/proc_misc.c +++ b/fs/proc/proc_misc.c | |||
@@ -157,10 +157,12 @@ static int meminfo_read_proc(char *page, char **start, off_t off, | |||
157 | "SwapCached: %8lu kB\n" | 157 | "SwapCached: %8lu kB\n" |
158 | "Active: %8lu kB\n" | 158 | "Active: %8lu kB\n" |
159 | "Inactive: %8lu kB\n" | 159 | "Inactive: %8lu kB\n" |
160 | #ifdef CONFIG_HIGHMEM | ||
160 | "HighTotal: %8lu kB\n" | 161 | "HighTotal: %8lu kB\n" |
161 | "HighFree: %8lu kB\n" | 162 | "HighFree: %8lu kB\n" |
162 | "LowTotal: %8lu kB\n" | 163 | "LowTotal: %8lu kB\n" |
163 | "LowFree: %8lu kB\n" | 164 | "LowFree: %8lu kB\n" |
165 | #endif | ||
164 | "SwapTotal: %8lu kB\n" | 166 | "SwapTotal: %8lu kB\n" |
165 | "SwapFree: %8lu kB\n" | 167 | "SwapFree: %8lu kB\n" |
166 | "Dirty: %8lu kB\n" | 168 | "Dirty: %8lu kB\n" |
@@ -183,10 +185,12 @@ static int meminfo_read_proc(char *page, char **start, off_t off, | |||
183 | K(total_swapcache_pages), | 185 | K(total_swapcache_pages), |
184 | K(active), | 186 | K(active), |
185 | K(inactive), | 187 | K(inactive), |
188 | #ifdef CONFIG_HIGHMEM | ||
186 | K(i.totalhigh), | 189 | K(i.totalhigh), |
187 | K(i.freehigh), | 190 | K(i.freehigh), |
188 | K(i.totalram-i.totalhigh), | 191 | K(i.totalram-i.totalhigh), |
189 | K(i.freeram-i.freehigh), | 192 | K(i.freeram-i.freehigh), |
193 | #endif | ||
190 | K(i.totalswap), | 194 | K(i.totalswap), |
191 | K(i.freeswap), | 195 | K(i.freeswap), |
192 | K(global_page_state(NR_FILE_DIRTY)), | 196 | K(global_page_state(NR_FILE_DIRTY)), |