From: Ralf Baechle Date: Fri, 8 Apr 2005 20:36:05 +0000 (+0000) Subject: Detect the 4KEcR2 and for now detect handle it like the 4KEc. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b07bd0235ca51816e4e43cb6781973358553a1b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Detect the 4KEcR2 and for now detect handle it like the 4KEc. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 69e5fff00ed..ce2966e9eb5 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -456,6 +456,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c) c->cputype = CPU_4KEC; c->isa_level = MIPS_CPU_ISA_M32; break; + case PRID_IMP_4KECR2: + c->cputype = CPU_4KEC; + c->isa_level = MIPS_CPU_ISA_M32; + break; case PRID_IMP_4KSC: c->cputype = CPU_4KSC; c->isa_level = MIPS_CPU_ISA_M32;