Skip to contentSkip to conversation

powerpc: Fix __tlb_remove_tlb_entry for PPC_STD_MMU_32

PATCH New Becky Bruce 1 participant 1 message Aug 14, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: Fix __tlb_remove_tlb_entry for PPC_STD_MMU_32

Ben's recent patches are missing the CONFIG_ prefix to PPC_STD_MMU_32, which results in not properly flushing hash entries. On 8641, this showed up as a platform that would boot, but deny logins.

---
 arch/powerpc/include/asm/tlb.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/include/asm/tlb.h +1 -1
index 5db9910..e2b428b 100644
@@ -39,7 +39,7 @@ extern void flush_hash_entry(struct mm_struct *mm, pte_t *ptep,
 static inline void __tlb_remove_tlb_entry(struct mmu_gather *tlb, pte_t *ptep,
 					  unsigned long address)
 {
-#ifdef PPC_STD_MMU_32
+#ifdef CONFIG_PPC_STD_MMU_32
 	if (pte_val(*ptep) & _PAGE_HASHPTE)
 		flush_hash_entry(tlb->mm, ptep, address);
 #endif
Signature · 1 line
1.6.0.6