Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8a9c4f1 authored by Wei Li's avatar Wei Li Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit e393fbe6fa27af23f78df6e16a8fd2963578a8c4 ]

Commit 442e14a2 ("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: 442e14a2 ("MIPS: Add 1074K CPU support explicitly.")
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c93d30f5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -47,6 +47,7 @@ static inline int __pure __get_cpu_type(const int cpu_type)
	case CPU_34K:
	case CPU_34K:
	case CPU_1004K:
	case CPU_1004K:
	case CPU_74K:
	case CPU_74K:
	case CPU_1074K:
	case CPU_M14KC:
	case CPU_M14KC:
	case CPU_M14KEC:
	case CPU_M14KEC:
	case CPU_INTERAPTIV:
	case CPU_INTERAPTIV: