aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/cpu-probe.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 53e4496de6b6..844126b39ed3 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -501,6 +501,12 @@ static inline unsigned int decode_config3(struct cpuinfo_mips *c)
501 c->ases |= MIPS_ASE_SMARTMIPS; 501 c->ases |= MIPS_ASE_SMARTMIPS;
502 if (config3 & MIPS_CONF3_DSP) 502 if (config3 & MIPS_CONF3_DSP)
503 c->ases |= MIPS_ASE_DSP; 503 c->ases |= MIPS_ASE_DSP;
504 if (config3 & MIPS_CONF3_VINT)
505 c->options |= MIPS_CPU_VINT;
506 if (config3 & MIPS_CONF3_VEIC)
507 c->options |= MIPS_CPU_VEIC;
508 if (config3 & MIPS_CONF3_MT)
509 c->ases |= MIPS_ASE_MIPSMT;
504 510
505 return config3 & MIPS_CONF_M; 511 return config3 & MIPS_CONF_M;
506} 512}