summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Li <liwei391@huawei.com>2020-09-23 09:53:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-01 18:36:31 +0300
commit2f24ab64b8cc1b039316ae1a6e77c903a8568bdf (patch)
tree3227385322a5debb21b5e960ed8f151ce919f183
parent7b7b64dda97859b27b075686c5fa9a0c5c50c91c (diff)
downloadlinux-2f24ab64b8cc1b039316ae1a6e77c903a8568bdf.tar.xz
MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
[ Upstream commit e393fbe6fa27af23f78df6e16a8fd2963578a8c4 ] Commit 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.") split 1074K from the 74K as an unique CPU type, while it missed to add the 'CPU_1074K' in __get_cpu_type(). So let's add it back. Fixes: 442e14a2c55e ("MIPS: Add 1074K CPU support explicitly.") Signed-off-by: Wei Li <liwei391@huawei.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--arch/mips/include/asm/cpu-type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu-type.h b/arch/mips/include/asm/cpu-type.h
index 75a7a382da09..3288cef4b168 100644
--- a/arch/mips/include/asm/cpu-type.h
+++ b/arch/mips/include/asm/cpu-type.h
@@ -47,6 +47,7 @@ static inline int __pure __get_cpu_type(const int cpu_type)
case CPU_34K:
case CPU_1004K:
case CPU_74K:
+ case CPU_1074K:
case CPU_M14KC:
case CPU_M14KEC:
case CPU_INTERAPTIV: