diff options
Diffstat (limited to 'include/asm-sparc64/tlb.h')
-rw-r--r-- | include/asm-sparc64/tlb.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-sparc64/tlb.h b/include/asm-sparc64/tlb.h index 66138d959df5..1eda17954f39 100644 --- a/include/asm-sparc64/tlb.h +++ b/include/asm-sparc64/tlb.h | |||
@@ -78,11 +78,9 @@ static inline void tlb_finish_mmu(struct mmu_gather *mp, unsigned long start, un | |||
78 | { | 78 | { |
79 | tlb_flush_mmu(mp); | 79 | tlb_flush_mmu(mp); |
80 | 80 | ||
81 | if (mp->fullmm) { | 81 | if (mp->fullmm) |
82 | if (CTX_VALID(mp->mm->context)) | ||
83 | do_flush_tlb_mm(mp->mm); | ||
84 | mp->fullmm = 0; | 82 | mp->fullmm = 0; |
85 | } else | 83 | else |
86 | flush_tlb_pending(); | 84 | flush_tlb_pending(); |
87 | 85 | ||
88 | /* keep the page table cache within bounds */ | 86 | /* keep the page table cache within bounds */ |