diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-11-03 22:02:39 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-11-03 22:02:39 +0100 |
commit | 5f8b1178e246422ebddc1b16487314c91edf85fe (patch) | |
tree | 67b0b09acc80bfc1ca81f92cdad45ca156706bea /include/asm-arm | |
parent | [ARM] 3092/1: remove excessive print format padding (diff) | |
parent | [ARM SMP] Do not clear cpu_vm_mask for VIPT caches (diff) | |
download | linux-5f8b1178e246422ebddc1b16487314c91edf85fe.tar.xz linux-5f8b1178e246422ebddc1b16487314c91edf85fe.zip |
[ARM] Merge SMP tree
Diffstat (limited to 'include/asm-arm')
-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, cpu_set(cpu, next->cpu_vm_mask); check_context(next); cpu_switch_mm(next->pgd, next); - cpu_clear(cpu, prev->cpu_vm_mask); + if (cache_is_vivt()) + cpu_clear(cpu, prev->cpu_vm_mask); } } |