diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-01-09 11:04:51 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-03-26 18:09:18 -0400 |
commit | 49016748ec45408ad89d10308ac903a2202ff305 (patch) | |
tree | dce509a8ca52694216105c1d33a89d0449b157b4 /arch/mips | |
parent | 7ae669665698b72d81e2080ebb220dfad49248dc (diff) |
MIPS: kernel: cpu-probe: Enable EVA option on supported cores
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index ee5de360636d..e225b0d369e8 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -386,6 +386,9 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c) | |||
386 | config5 &= ~MIPS_CONF5_UFR; | 386 | config5 &= ~MIPS_CONF5_UFR; |
387 | write_c0_config5(config5); | 387 | write_c0_config5(config5); |
388 | 388 | ||
389 | if (config5 & MIPS_CONF5_EVA) | ||
390 | c->options |= MIPS_CPU_EVA; | ||
391 | |||
389 | return config5 & MIPS_CONF_M; | 392 | return config5 & MIPS_CONF_M; |
390 | } | 393 | } |
391 | 394 | ||