diff options
Diffstat (limited to 'arch/sparc64/mm/tlb.c')
-rw-r--r-- | arch/sparc64/mm/tlb.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc64/mm/tlb.c index 90ca99d0b89c..8b104be4662b 100644 --- a/arch/sparc64/mm/tlb.c +++ b/arch/sparc64/mm/tlb.c | |||
@@ -18,8 +18,7 @@ | |||
18 | 18 | ||
19 | /* Heavily inspired by the ppc64 code. */ | 19 | /* Heavily inspired by the ppc64 code. */ |
20 | 20 | ||
21 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = | 21 | DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = { 0, }; |
22 | { NULL, 0, 0, 0, 0, 0, { 0 }, { NULL }, }; | ||
23 | 22 | ||
24 | void flush_tlb_pending(void) | 23 | void flush_tlb_pending(void) |
25 | { | 24 | { |
@@ -72,7 +71,7 @@ void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, pte_t *ptep, pte_t | |||
72 | 71 | ||
73 | no_cache_flush: | 72 | no_cache_flush: |
74 | 73 | ||
75 | if (mp->tlb_frozen) | 74 | if (mp->fullmm) |
76 | return; | 75 | return; |
77 | 76 | ||
78 | nr = mp->tlb_nr; | 77 | nr = mp->tlb_nr; |
@@ -97,7 +96,7 @@ void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long | |||
97 | unsigned long nr = mp->tlb_nr; | 96 | unsigned long nr = mp->tlb_nr; |
98 | long s = start, e = end, vpte_base; | 97 | long s = start, e = end, vpte_base; |
99 | 98 | ||
100 | if (mp->tlb_frozen) | 99 | if (mp->fullmm) |
101 | return; | 100 | return; |
102 | 101 | ||
103 | /* If start is greater than end, that is a real problem. */ | 102 | /* If start is greater than end, that is a real problem. */ |