diff options
author | 2007-10-16 14:57:06 -0500 | |
---|---|---|
committer | 2007-10-16 13:10:58 -0700 | |
commit | e95206ab2c8cd6ea11318a5fe96b4ace534be750 (patch) | |
tree | cb982f030026743158d33e1d17ee40fb1f132767 /arch | |
parent | Fix powerpc breakage in sg chaining code (diff) | |
download | linux-e95206ab2c8cd6ea11318a5fe96b4ace534be750.tar.gz linux-e95206ab2c8cd6ea11318a5fe96b4ace534be750.tar.bz2 linux-e95206ab2c8cd6ea11318a5fe96b4ace534be750.zip |
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: Anton Blanchard <anton@samba.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/mm/init_64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index 29ed495444f5..702d884a338a 100644 --- a/arch/powerpc/mm/init_64.c +++ b/arch/powerpc/mm/init_64.c @@ -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); } |