[PATCH] Update PowerPC vmemmap code for 1TB segments

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Anton Blanchard
Date: Tuesday, October 16, 2007 - 12:57 pm

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>
---

diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c
index 29ed495..702d884 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);
 	}
 
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Update PowerPC vmemmap code for 1TB segments, Anton Blanchard, (Tue Oct 16, 12:57 pm)