Message ID | alpine.DEB.2.02.1307270405470.4546@utopia.booyaka.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/include/asm/mmu_context.h b/arch/arm/include/asm/mmu_context.h index b5792b7..8dfb295 100644 --- a/arch/arm/include/asm/mmu_context.h +++ b/arch/arm/include/asm/mmu_context.h @@ -112,7 +112,7 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, * so check for possible thread migration and invalidate the I-cache * if we're new to this CPU. */ - if (cache_ops_need_broadcast() && + if (1 && !cpumask_empty(mm_cpumask(next)) && !cpumask_test_cpu(cpu, mm_cpumask(next))) __flush_icache_all();