aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/sparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/sparse.c b/mm/sparse.c
index 1552c855d62a..fe44b2d3bd7e 100644
--- a/mm/sparse.c
+++ b/mm/sparse.c
@@ -731,6 +731,7 @@ int __meminit sparse_add_one_section(int nid, unsigned long start_pfn,
*/
page_init_poison(memmap, sizeof(struct page) * PAGES_PER_SECTION);
+ set_section_nid(section_nr, nid);
section_mark_present(ms);
sparse_init_one_section(ms, section_nr, memmap, usemap);