提交 e95206ab 编写于 作者: A Anton Blanchard 提交者: Linus Torvalds

Update PowerPC vmemmap code for 1TB segments

htab_bolt_mapping takes another argument now the 1TB code has been
merged. Update vmemmap_populate to match.
Signed-off-by: NAnton Blanchard <anton@samba.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 33ff910f
...@@ -243,7 +243,8 @@ int __meminit vmemmap_populate(struct page *start_page, ...@@ -243,7 +243,8 @@ int __meminit vmemmap_populate(struct page *start_page,
"physical %p.\n", start, p, __pa(p)); "physical %p.\n", start, p, __pa(p));
mapped = htab_bolt_mapping(start, start + page_size, mapped = htab_bolt_mapping(start, start + page_size,
__pa(p), mode_rw, mmu_linear_psize); __pa(p), mode_rw, mmu_linear_psize,
mmu_kernel_ssize);
BUG_ON(mapped < 0); BUG_ON(mapped < 0);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册