diff options
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 15 |
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); | |||
51 | nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL; | 51 | nodemask_t node_possible_map __read_mostly = NODE_MASK_ALL; |
52 | EXPORT_SYMBOL(node_possible_map); | 52 | EXPORT_SYMBOL(node_possible_map); |
53 | unsigned long totalram_pages __read_mostly; | 53 | unsigned long totalram_pages __read_mostly; |
54 | unsigned long totalhigh_pages __read_mostly; | ||
55 | unsigned long totalreserve_pages __read_mostly; | 54 | unsigned long totalreserve_pages __read_mostly; |
56 | long nr_swap_pages; | 55 | long nr_swap_pages; |
57 | int percpu_pagelist_fraction; | 56 | int 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 | ||
1190 | unsigned 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 |
1203 | static void show_node(struct zone *zone) | 1188 | static void show_node(struct zone *zone) |
1204 | { | 1189 | { |