Skip to content

Commit

Permalink
Update PowerPC vmemmap code for 1TB segments
Browse files Browse the repository at this point in the history
htab_bolt_mapping takes another argument now the 1TB code has been
merged. Update vmemmap_populate to match.

Signed-off-by: Anton Blanchard <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
antonblanchard authored and Linus Torvalds committed Oct 16, 2007
1 parent 33ff910 commit e95206a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/mm/init_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ int __meminit vmemmap_populate(struct page *start_page,
"physical %p.\n", start, p, __pa(p));

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);
}

Expand Down

0 comments on commit e95206a

Please sign in to comment.