diff options
author | Wei Li <liwei391@huawei.com> | 2020-09-23 14:53:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-01 13:18:20 +0200 |
commit | 5c58104841fe073bbf8a80b4079f58e04005f27d (patch) | |
tree | 22eba39bdf0bebdac3b09c296a42be4036f1e4c0 | |
parent | 283a3234550c34d0ac459be04a7cc3dfafc277b9 (diff) | |
download | linux-stable-5c58104841fe073bbf8a80b4079f58e04005f27d.tar.gz linux-stable-5c58104841fe073bbf8a80b4079f58e04005f27d.tar.bz2 linux-stable-5c58104841fe073bbf8a80b4079f58e04005f27d.zip |
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.h | 1 |
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 7bbb66760a07..1809c408736b 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: |