arm64: mm: don't bother invalidating the icache in switch_mm
authorWill Deacon <will.deacon@arm.com>
Wed, 5 Jun 2013 11:40:34 +0000 (12:40 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:52 +0000 (19:59 +0100)
commitf81685d08038409c7f46741372a7cbe7299d5f87
tree92d2f2975a75d9cadb25fa10acc1364eab25e276
parentae41944bea69a143f6e464f02784a9e1f5161e07
arm64: mm: don't bother invalidating the icache in switch_mm

We don't support software broadcast of cache maintenance operations, so
this flush is not required (__sync_icache_dcache will always affect all
CPUs).

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 737c16dffc458e58ee7840556d43b874cb8e16a0)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/include/asm/mmu_context.h