aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/mem.c')
-rw-r--r--arch/powerpc/mm/mem.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 246eeea40ece..0266a94d83b6 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -310,11 +310,12 @@ void __init paging_init(void)
310 310
311#ifdef CONFIG_HIGHMEM 311#ifdef CONFIG_HIGHMEM
312 map_page(PKMAP_BASE, 0, 0); /* XXX gross */ 312 map_page(PKMAP_BASE, 0, 0); /* XXX gross */
313 pkmap_page_table = pte_offset_kernel(pmd_offset(pgd_offset_k 313 pkmap_page_table = pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k
314 (PKMAP_BASE), PKMAP_BASE), PKMAP_BASE); 314 (PKMAP_BASE), PKMAP_BASE), PKMAP_BASE), PKMAP_BASE);
315 map_page(KMAP_FIX_BEGIN, 0, 0); /* XXX gross */ 315 map_page(KMAP_FIX_BEGIN, 0, 0); /* XXX gross */
316 kmap_pte = pte_offset_kernel(pmd_offset(pgd_offset_k 316 kmap_pte = pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k
317 (KMAP_FIX_BEGIN), KMAP_FIX_BEGIN), KMAP_FIX_BEGIN); 317 (KMAP_FIX_BEGIN), KMAP_FIX_BEGIN), KMAP_FIX_BEGIN),
318 KMAP_FIX_BEGIN);
318 kmap_prot = PAGE_KERNEL; 319 kmap_prot = PAGE_KERNEL;
319#endif /* CONFIG_HIGHMEM */ 320#endif /* CONFIG_HIGHMEM */
320 321