diff options
Diffstat (limited to 'include/asm-arm/mmu_context.h')
-rw-r--r-- | include/asm-arm/mmu_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/mmu_context.h b/include/asm-arm/mmu_context.h index 4af9c411c617..57b8def83d41 100644 --- a/include/asm-arm/mmu_context.h +++ b/include/asm-arm/mmu_context.h | |||
@@ -86,7 +86,8 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
86 | cpu_set(cpu, next->cpu_vm_mask); | 86 | cpu_set(cpu, next->cpu_vm_mask); |
87 | check_context(next); | 87 | check_context(next); |
88 | cpu_switch_mm(next->pgd, next); | 88 | cpu_switch_mm(next->pgd, next); |
89 | cpu_clear(cpu, prev->cpu_vm_mask); | 89 | if (cache_is_vivt()) |
90 | cpu_clear(cpu, prev->cpu_vm_mask); | ||
90 | } | 91 | } |
91 | } | 92 | } |
92 | 93 | ||