summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/mmu_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/mmu_context.h')
-rw-r--r--arch/tile/include/asm/mmu_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/asm/mmu_context.h b/arch/tile/include/asm/mmu_context.h
index 37f0b741dee7..4734215e2ad4 100644
--- a/arch/tile/include/asm/mmu_context.h
+++ b/arch/tile/include/asm/mmu_context.h
@@ -45,7 +45,7 @@ static inline void __install_page_table(pgd_t *pgdir, int asid, pgprot_t prot)
static inline void install_page_table(pgd_t *pgdir, int asid)
{
- pte_t *ptep = virt_to_pte(NULL, (unsigned long)pgdir);
+ pte_t *ptep = virt_to_kpte((unsigned long)pgdir);
__install_page_table(pgdir, asid, *ptep);
}
OpenPOWER on IntegriCloud