MIPS: c-r4k: Local flush_icache_range cache op override
authorJames Hogan <james.hogan@imgtec.com>
Wed, 13 Jul 2016 13:12:54 +0000 (14:12 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Jul 2016 08:19:30 +0000 (10:19 +0200)
commit27b93d9c1de70bb8191882964d7fa58d01d3c06b
treeb566ba26a3dca0450ab582a9ed295f53a8b0d800
parenta9341ae24169e5d55aefdfeeefb17eab96b8e655
MIPS: c-r4k: Local flush_icache_range cache op override

Allow the permitted cache op types used by
local_r4k_flush_icache_range_ipi() to be overridden by the SMP caller.
This will allow SMP calls to be avoided under certain circumstances,
falling back to a single CPU performing globalized hit cache ops only.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Leonid Yegoshin <leonid.yegoshin@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13803/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/c-r4k.c