summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/sc-mips.c
diff options
context:
space:
mode:
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>2014-11-24 13:59:01 +0100
committerMarkos Chandras <markos.chandras@imgtec.com>2015-02-16 11:01:24 +0100
commit4695089f03929c8cfa58470faf6e1e041bfb285a (patch)
tree8e825b5822c5f0253a2e29a6523025b8d0f98005 /arch/mips/mm/sc-mips.c
parentMIPS: Add generic QEMU PRid and cpu type identifiers (diff)
downloadlinux-4695089f03929c8cfa58470faf6e1e041bfb285a.tar.xz
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/sc-mips.c')
-rw-r--r--arch/mips/mm/sc-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/mm/sc-mips.c b/arch/mips/mm/sc-mips.c
index 99eb8fabab60..fd9b5d45e91b 100644
--- a/arch/mips/mm/sc-mips.c
+++ b/arch/mips/mm/sc-mips.c
@@ -81,6 +81,7 @@ static inline int mips_sc_is_activated(struct cpuinfo_mips *c)
case CPU_PROAPTIV:
case CPU_P5600:
case CPU_BMIPS5000:
+ case CPU_QEMU_GENERIC:
if (config2 & (1 << 12))
return 0;
}