Skip to content

Commit

Permalink
MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
Browse files Browse the repository at this point in the history
[ Upstream commit e393fbe ]

Commit 442e14a ("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: 442e14a ("MIPS: Add 1074K CPU support explicitly.")
Signed-off-by: Wei Li <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
stkid authored and gregkh committed Oct 1, 2020
1 parent 9c3c9d3 commit 588ff52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/include/asm/cpu-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 588ff52

Please sign in to comment.