diff options
Diffstat (limited to 'mm/sparse-vmemmap.c')
-rw-r--r-- | mm/sparse-vmemmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c index bd0276d5f66b..68bb65b2d34d 100644 --- a/mm/sparse-vmemmap.c +++ b/mm/sparse-vmemmap.c | |||
@@ -292,18 +292,14 @@ void __init sparse_mem_maps_populate_node(struct page **map_map, | |||
292 | } | 292 | } |
293 | 293 | ||
294 | for (pnum = pnum_begin; pnum < pnum_end; pnum++) { | 294 | for (pnum = pnum_begin; pnum < pnum_end; pnum++) { |
295 | struct mem_section *ms; | ||
296 | |||
297 | if (!present_section_nr(pnum)) | 295 | if (!present_section_nr(pnum)) |
298 | continue; | 296 | continue; |
299 | 297 | ||
300 | map_map[pnum] = sparse_mem_map_populate(pnum, nodeid, NULL); | 298 | map_map[pnum] = sparse_mem_map_populate(pnum, nodeid, NULL); |
301 | if (map_map[pnum]) | 299 | if (map_map[pnum]) |
302 | continue; | 300 | continue; |
303 | ms = __nr_to_section(pnum); | ||
304 | pr_err("%s: sparsemem memory map backing failed some memory will not be available\n", | 301 | pr_err("%s: sparsemem memory map backing failed some memory will not be available\n", |
305 | __func__); | 302 | __func__); |
306 | ms->section_mem_map = 0; | ||
307 | } | 303 | } |
308 | 304 | ||
309 | if (vmemmap_buf_start) { | 305 | if (vmemmap_buf_start) { |