aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm/tlb.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/mm/tlb.c')
-rw-r--r--arch/xtensa/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c
index 5ece856c5725..35c822286bbe 100644
--- a/arch/xtensa/mm/tlb.c
+++ b/arch/xtensa/mm/tlb.c
@@ -245,7 +245,7 @@ static int check_tlb_entry(unsigned w, unsigned e, bool dtlb)
245 page_mapcount(p)); 245 page_mapcount(p));
246 if (!page_count(p)) 246 if (!page_count(p))
247 rc |= TLB_INSANE; 247 rc |= TLB_INSANE;
248 else if (page_mapped(p)) 248 else if (page_mapcount(p))
249 rc |= TLB_SUSPICIOUS; 249 rc |= TLB_SUSPICIOUS;
250 } else { 250 } else {
251 rc |= TLB_INSANE; 251 rc |= TLB_INSANE;