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: upstream/snapshot3+hdmi~33982^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=805f53f085346b6765eda02820721a14ce0d644f;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Merge branches 'armv7', 'at91', 'misc' and 'omap' into devel --- 805f53f085346b6765eda02820721a14ce0d644f diff --cc arch/arm/mm/context.c index c9e9a55,9da43a0,930c04c,9da43a0..fc84fcc --- 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; }