diff options
Diffstat (limited to 'mm/sparse-vmemmap.c')
-rw-r--r-- | mm/sparse-vmemmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/sparse-vmemmap.c b/mm/sparse-vmemmap.c index 4f2d4854f840..d3b718b0c20a 100644 --- a/mm/sparse-vmemmap.c +++ b/mm/sparse-vmemmap.c | |||
@@ -137,7 +137,7 @@ int __meminit vmemmap_populate_basepages(struct page *start_page, | |||
137 | return 0; | 137 | return 0; |
138 | } | 138 | } |
139 | 139 | ||
140 | struct page __init *sparse_early_mem_map_populate(unsigned long pnum, int nid) | 140 | struct page * __meminit sparse_mem_map_populate(unsigned long pnum, int nid) |
141 | { | 141 | { |
142 | struct page *map = pfn_to_page(pnum * PAGES_PER_SECTION); | 142 | struct page *map = pfn_to_page(pnum * PAGES_PER_SECTION); |
143 | int error = vmemmap_populate(map, PAGES_PER_SECTION, nid); | 143 | int error = vmemmap_populate(map, PAGES_PER_SECTION, nid); |