summaryrefslogtreecommitdiffstats
path: root/mm/sparse-vmemmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/sparse-vmemmap.c')
-rw-r--r--mm/sparse-vmemmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c
index b05c7663c640..cd15f3d252c3 100644
--- a/mm/sparse-vmemmap.c
+++ b/mm/sparse-vmemmap.c
@@ -270,7 +270,6 @@ void __init sparse_mem_maps_populate_node(struct page **map_map,
270 unsigned long pnum; 270 unsigned long pnum;
271 int nr_consumed_maps = 0; 271 int nr_consumed_maps = 0;
272 272
273 sparse_buffer_init(section_map_size() * map_count, nodeid);
274 for (pnum = pnum_begin; pnum < pnum_end; pnum++) { 273 for (pnum = pnum_begin; pnum < pnum_end; pnum++) {
275 if (!present_section_nr(pnum)) 274 if (!present_section_nr(pnum))
276 continue; 275 continue;
@@ -282,5 +281,4 @@ void __init sparse_mem_maps_populate_node(struct page **map_map,
282 pr_err("%s: sparsemem memory map backing failed some memory will not be available\n", 281 pr_err("%s: sparsemem memory map backing failed some memory will not be available\n",
283 __func__); 282 __func__);
284 } 283 }
285 sparse_buffer_fini();
286} 284}