aboutsummaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index e26491cb5a2..5cde54695cf 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -51,7 +51,6 @@ EXPORT_SYMBOL(node_online_map);
51nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL; 51nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL;
52EXPORT_SYMBOL(node_possible_map); 52EXPORT_SYMBOL(node_possible_map);
53unsigned long totalram_pages __read_mostly; 53unsigned long totalram_pages __read_mostly;
54unsigned long totalhigh_pages __read_mostly;
55unsigned long totalreserve_pages __read_mostly; 54unsigned long totalreserve_pages __read_mostly;
56long nr_swap_pages; 55long nr_swap_pages;
57int percpu_pagelist_fraction; 56int percpu_pagelist_fraction;
@@ -1185,20 +1184,6 @@ unsigned int nr_free_pagecache_pages(void)
1185{ 1184{
1186 return nr_free_zone_pages(gfp_zone(GFP_HIGHUSER)); 1185 return nr_free_zone_pages(gfp_zone(GFP_HIGHUSER));
1187} 1186}
1188
1189#ifdef CONFIG_HIGHMEM
1190unsigned int nr_free_highpages (void)
1191{
1192 pg_data_t *pgdat;
1193 unsigned int pages = 0;
1194
1195 for_each_online_pgdat(pgdat)
1196 pages += pgdat->node_zones[ZONE_HIGHMEM].free_pages;
1197
1198 return pages;
1199}
1200#endif
1201
1202#ifdef CONFIG_NUMA 1187#ifdef CONFIG_NUMA
1203static void show_node(struct zone *zone) 1188static void show_node(struct zone *zone)
1204{ 1189{