projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: don't open code lru_to_page()
[linux-2.6-microblaze.git]
/
mm
/
vmstat.c
diff --git
a/mm/vmstat.c
b/mm/vmstat.c
index
9c62459
..
83b30ed
100644
(file)
--- a/
mm/vmstat.c
+++ b/
mm/vmstat.c
@@
-227,7
+227,7
@@
int calculate_normal_threshold(struct zone *zone)
* 125 1024 10 16-32 GB 9
*/
* 125 1024 10 16-32 GB 9
*/
- mem = zone
->managed_pages
>> (27 - PAGE_SHIFT);
+ mem = zone
_managed_pages(zone)
>> (27 - PAGE_SHIFT);
threshold = 2 * fls(num_online_cpus()) * (1 + fls(mem));
threshold = 2 * fls(num_online_cpus()) * (1 + fls(mem));
@@
-1569,7
+1569,7
@@
static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat,
high_wmark_pages(zone),
zone->spanned_pages,
zone->present_pages,
high_wmark_pages(zone),
zone->spanned_pages,
zone->present_pages,
- zone
->managed_pages
);
+ zone
_managed_pages(zone)
);
seq_printf(m,
"\n protection: (%ld",
seq_printf(m,
"\n protection: (%ld",