diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/sparse.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/mm/sparse.c b/mm/sparse.c index 08fb14f5eea3..e06f514fe04f 100644 --- a/mm/sparse.c +++ b/mm/sparse.c | |||
@@ -220,12 +220,6 @@ static int __meminit sparse_init_one_section(struct mem_section *ms, | |||
220 | return 1; | 220 | return 1; |
221 | } | 221 | } |
222 | 222 | ||
223 | __attribute__((weak)) __init | ||
224 | void *alloc_bootmem_high_node(pg_data_t *pgdat, unsigned long size) | ||
225 | { | ||
226 | return NULL; | ||
227 | } | ||
228 | |||
229 | static unsigned long usemap_size(void) | 223 | static unsigned long usemap_size(void) |
230 | { | 224 | { |
231 | unsigned long size_bytes; | 225 | unsigned long size_bytes; |
@@ -267,11 +261,6 @@ struct page __init *sparse_mem_map_populate(unsigned long pnum, int nid) | |||
267 | if (map) | 261 | if (map) |
268 | return map; | 262 | return map; |
269 | 263 | ||
270 | map = alloc_bootmem_high_node(NODE_DATA(nid), | ||
271 | sizeof(struct page) * PAGES_PER_SECTION); | ||
272 | if (map) | ||
273 | return map; | ||
274 | |||
275 | map = alloc_bootmem_node(NODE_DATA(nid), | 264 | map = alloc_bootmem_node(NODE_DATA(nid), |
276 | sizeof(struct page) * PAGES_PER_SECTION); | 265 | sizeof(struct page) * PAGES_PER_SECTION); |
277 | return map; | 266 | return map; |