summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/c-r4k.c
diff options
context:
space:
mode:
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>2014-11-24 12:59:01 +0000
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-16 10:01:24 +0000
commit4695089f03929c8cfa58470faf6e1e041bfb285a (patch)
tree8e825b5822c5f0253a2e29a6523025b8d0f98005 /arch/mips/mm/c-r4k.c
parentaca5721e9524de0306ba914e678365fcb704c60c (diff)
downloadblackbird-op-linux-4695089f03929c8cfa58470faf6e1e041bfb285a.tar.gz
blackbird-op-linux-4695089f03929c8cfa58470faf6e1e041bfb285a.zip
MIPS: Add cases for CPU_QEMU_GENERIC
Add a CPU_QEMU_GENERIC case to various switch statements. Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r--arch/mips/mm/c-r4k.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index dd261df005c2..b806deb29e63 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -1255,6 +1255,7 @@ static void probe_pcache(void)
case CPU_P5600:
case CPU_PROAPTIV:
case CPU_M5150:
+ case CPU_QEMU_GENERIC:
if (!(read_c0_config7() & MIPS_CONF7_IAR) &&
(c->icache.waysize > PAGE_SIZE))
c->icache.flags |= MIPS_CACHE_ALIASES;
OpenPOWER on IntegriCloud