aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/mm/tlb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc64/mm/tlb.c
index 90ca99d0b89c..6a43f7cd090e 100644
--- a/arch/sparc64/mm/tlb.c
+++ b/arch/sparc64/mm/tlb.c
@@ -72,7 +72,7 @@ void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t
72 72
73no_cache_flush: 73no_cache_flush:
74 74
75 if (mp->tlb_frozen) 75 if (mp->fullmm)
76 return; 76 return;
77 77
78 nr = mp->tlb_nr; 78 nr = mp->tlb_nr;
@@ -97,7 +97,7 @@ void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long
97 unsigned long nr = mp->tlb_nr; 97 unsigned long nr = mp->tlb_nr;
98 long s = start, e = end, vpte_base; 98 long s = start, e = end, vpte_base;
99 99
100 if (mp->tlb_frozen) 100 if (mp->fullmm)
101 return; 101 return;
102 102
103 /* If start is greater than end, that is a real problem. */ 103 /* If start is greater than end, that is a real problem. */