From 0bcf13e964b7e47820ae3784fce62908b0d9f9c1 Mon Sep 17 00:00:00 2001 From: Russell King Date: Thu, 3 Nov 2005 20:32:45 +0000 Subject: [PATCH] --- yaml --- r: 12251 b: refs/heads/master c: 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 h: refs/heads/master i: 12249: 4eaaaa714c9db0ba6b8162e26040669472e0f1f5 12247: f6245f477e058e94a83a2ffe745c3e916fb69f36 v: v3 --- [refs] | 2 +- trunk/include/asm-arm/mmu_context.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8ab3a01caf5c..e42782e0b6c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a5f79e7e65d24d2fa9eb6e6208672571704d337 +refs/heads/master: 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 diff --git a/trunk/include/asm-arm/mmu_context.h b/trunk/include/asm-arm/mmu_context.h index 4af9c411c617..57b8def83d41 100644 --- a/trunk/include/asm-arm/mmu_context.h +++ b/trunk/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); } }