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.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 6c7c2dd1b3ed..25f39865e324 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1376,22 +1376,6 @@ static int __meminit build_zonelists_node(pg_data_t *pgdat,
1376 return nr_zones; 1376 return nr_zones;
1377} 1377}
1378 1378
1379static inline int highest_zone(int zone_bits)
1380{
1381 int res = ZONE_NORMAL;
1382#ifdef CONFIG_HIGHMEM
1383 if (zone_bits & (__force int)__GFP_HIGHMEM)
1384 res = ZONE_HIGHMEM;
1385#endif
1386#ifdef CONFIG_ZONE_DMA32
1387 if (zone_bits & (__force int)__GFP_DMA32)
1388 res = ZONE_DMA32;
1389#endif
1390 if (zone_bits & (__force int)__GFP_DMA)
1391 res = ZONE_DMA;
1392 return res;
1393}
1394
1395#ifdef CONFIG_NUMA 1379#ifdef CONFIG_NUMA
1396#define MAX_NODE_LOAD (num_online_nodes()) 1380#define MAX_NODE_LOAD (num_online_nodes())
1397static int __meminitdata node_load[MAX_NUMNODES]; 1381static int __meminitdata node_load[MAX_NUMNODES];