]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Update PowerPC vmemmap code for 1TB segments
authorAnton Blanchard <anton@samba.org>
Tue, 16 Oct 2007 19:57:06 +0000 (14:57 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 20:10:58 +0000 (13:10 -0700)
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>
arch/powerpc/mm/init_64.c

index 29ed495444f5e109e477defddd0dee704397506e..702d884a338a2f5da89bb1ee4b03297670cb47e0 100644 (file)
@@ -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);
        }