aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/tlb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/tlb.h')
-rw-r--r--arch/powerpc/include/asm/tlb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/tlb.h b/arch/powerpc/include/asm/tlb.h
index f0e571b2dc7c..e24c67d5ba75 100644
--- a/arch/powerpc/include/asm/tlb.h
+++ b/arch/powerpc/include/asm/tlb.h
@@ -40,7 +40,7 @@ extern void flush_hash_entry(struct mm_struct *mm, pte_t *ptep,
40static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep, 40static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
41 unsigned long address) 41 unsigned long address)
42{ 42{
43#ifdef CONFIG_PPC_STD_MMU_32 43#ifdef CONFIG_PPC_BOOK3S_32
44 if (pte_val(*ptep) & _PAGE_HASHPTE) 44 if (pte_val(*ptep) & _PAGE_HASHPTE)
45 flush_hash_entry(tlb->mm, ptep, address); 45 flush_hash_entry(tlb->mm, ptep, address);
46#endif 46#endif