From: Russell King Date: Wed, 9 May 2007 09:41:28 +0000 (+0100) Subject: Merge branches 'armv7', 'at91', 'misc' and 'omap' into devel X-Git-Tag: MMI-PSA29.97-13-9~43287^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=805f53f085346b6765eda02820721a14ce0d644f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Merge branches 'armv7', 'at91', 'misc' and 'omap' into devel --- 805f53f085346b6765eda02820721a14ce0d644f diff --cc arch/arm/mm/context.c index c9e9a5586267,9da43a0fdcdf,930c04c4f53c,9da43a0fdcdf..fc84fcc74380 --- a/arch/arm/mm/context.c +++ b/arch/arm/mm/context.c @@@@@ -47,14 -47,7 -49,9 -47,7 +49,16 @@@@@ void __new_context(struct mm_struct *mm : "r" (0)); isb(); flush_tlb_all(); +++ if (icache_is_vivt_asid_tagged()) { +++ asm("mcr p15, 0, %0, c7, c5, 0 @ invalidate I-cache\n" +++ "mcr p15, 0, %0, c7, c5, 6 @ flush BTAC/BTB\n" +++ : +++ : "r" (0)); +++ dsb(); +++ } } ++ + spin_unlock(&cpu_asid_lock); ++ + mm->cpu_vm_mask = cpumask_of_cpu(smp_processor_id()); mm->context.id = asid; }