]> git.baikalelectronics.ru Git - kernel.git/commitdiff
MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
authorWei Li <liwei391@huawei.com>
Wed, 23 Sep 2020 06:53:12 +0000 (14:53 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Wed, 23 Sep 2020 12:48:30 +0000 (14:48 +0200)
Commit 525269dcf957 ("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: 525269dcf957 ("MIPS: Add 1074K CPU support explicitly.")
Signed-off-by: Wei Li <liwei391@huawei.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/cpu-type.h

index 75a7a382da099db4f7b976c986bf8f7c102b2e32..3288cef4b168c36d6ded0e63f6d3bc46c6972686 100644 (file)
@@ -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: