Skip to contentSkip to conversation

MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()

PATCH Applied Wei Li 2 participants 2 messages Sep 23, 2020 – Sep 24, 2020 MIPS

lore
Share & tools
lore

Wei Li

author
#0 lore raw

PATCH 1/1 MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()

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.")
---
 arch/mips/include/asm/cpu-type.h | 1 +
 1 file changed, 1 insertion(+)
arch/mips/include/asm/cpu-type.h +1 -0
index 75a7a382da09..3288cef4b168 100644
@@ -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:
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 9 lines · Wei Li

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.")
---
 arch/mips/include/asm/cpu-type.h | 1 +
 1 file changed, 1 insertion(+)

applied to mips-fixes.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]