summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/cpu-probe.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2016-01-28 14:26:00 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 14:01:38 +0200
commit34ae8e3688fb8af2afaf52b78c6f20c74c6ae650 (patch)
tree4d242fab4556c7ff5ea856b556cbd42ae92be021 /arch/mips/kernel/cpu-probe.c
parent429365b2a1a90b593a730f54819a4c5dfd98553b (diff)
downloadop-kernel-dev-34ae8e3688fb8af2afaf52b78c6f20c74c6ae650.zip
op-kernel-dev-34ae8e3688fb8af2afaf52b78c6f20c74c6ae650.tar.gz
MIPS: highmem: Turn flush_cache_kmaps into a no-op.
It was calling flush_cache_all() which is a no-op since a long time anyway and which was overkill in the old days when it was actually doing something because only the D-cache needs to be flushed, never the I-cache, never the S-cache. Since however highmem on MIPS is still only supported on processors that don't suffer from cache aliases, we could turn flush_cache_kmaps() into a no-op - but for paranoia's sake we rather make it BUG_ON(cpu_has_dc_aliases()). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud