diff options
Diffstat (limited to 'arch/cris/arch-v32/mm/tlb.c')
-rw-r--r-- | arch/cris/arch-v32/mm/tlb.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/cris/arch-v32/mm/tlb.c b/arch/cris/arch-v32/mm/tlb.c index 9d75d7692303..c2d12e9c40d7 100644 --- a/arch/cris/arch-v32/mm/tlb.c +++ b/arch/cris/arch-v32/mm/tlb.c | |||
@@ -54,8 +54,7 @@ __flush_tlb_all(void) | |||
54 | * Mask with 0xf so similar TLB entries aren't written in the same 4-way | 54 | * Mask with 0xf so similar TLB entries aren't written in the same 4-way |
55 | * entry group. | 55 | * entry group. |
56 | */ | 56 | */ |
57 | local_save_flags(flags); | 57 | local_irq_save(flags); |
58 | local_irq_disable(); | ||
59 | 58 | ||
60 | for (mmu = 1; mmu <= 2; mmu++) { | 59 | for (mmu = 1; mmu <= 2; mmu++) { |
61 | SUPP_BANK_SEL(mmu); /* Select the MMU */ | 60 | SUPP_BANK_SEL(mmu); /* Select the MMU */ |
@@ -92,8 +91,7 @@ __flush_tlb_mm(struct mm_struct *mm) | |||
92 | return; | 91 | return; |
93 | 92 | ||
94 | /* Mark the TLB entries that match the page_id as invalid. */ | 93 | /* Mark the TLB entries that match the page_id as invalid. */ |
95 | local_save_flags(flags); | 94 | local_irq_save(flags); |
96 | local_irq_disable(); | ||
97 | 95 | ||
98 | for (mmu = 1; mmu <= 2; mmu++) { | 96 | for (mmu = 1; mmu <= 2; mmu++) { |
99 | SUPP_BANK_SEL(mmu); | 97 | SUPP_BANK_SEL(mmu); |
@@ -140,8 +138,7 @@ __flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) | |||
140 | * Invalidate those TLB entries that match both the mm context and the | 138 | * Invalidate those TLB entries that match both the mm context and the |
141 | * requested virtual address. | 139 | * requested virtual address. |
142 | */ | 140 | */ |
143 | local_save_flags(flags); | 141 | local_irq_save(flags); |
144 | local_irq_disable(); | ||
145 | 142 | ||
146 | for (mmu = 1; mmu <= 2; mmu++) { | 143 | for (mmu = 1; mmu <= 2; mmu++) { |
147 | SUPP_BANK_SEL(mmu); | 144 | SUPP_BANK_SEL(mmu); |