commit | 49016748ec45408ad89d10308ac903a2202ff305 | [log] [tgz] |
---|---|---|
author | Markos Chandras <markos.chandras@imgtec.com> | Thu Jan 09 16:04:51 2014 +0000 |
committer | Ralf Baechle <ralf@linux-mips.org> | Wed Mar 26 23:09:18 2014 +0100 |
tree | dce509a8ca52694216105c1d33a89d0449b157b4 | |
parent | 7ae669665698b72d81e2080ebb220dfad49248dc [diff] [blame] |
MIPS: kernel: cpu-probe: Enable EVA option on supported cores Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index ee5de36..e225b0d 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c
@@ -386,6 +386,9 @@ config5 &= ~MIPS_CONF5_UFR; write_c0_config5(config5); + if (config5 & MIPS_CONF5_EVA) + c->options |= MIPS_CPU_EVA; + return config5 & MIPS_CONF_M; }