From: Markos Chandras Date: Thu, 9 Jan 2014 16:04:51 +0000 (+0000) Subject: MIPS: kernel: cpu-probe: Enable EVA option on supported cores X-Git-Tag: v3.15-rc1~125^2~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49016748ec45408ad89d10308ac903a2202ff305;p=platform%2Fkernel%2Flinux-exynos.git MIPS: kernel: cpu-probe: Enable EVA option on supported cores Signed-off-by: Markos Chandras --- 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 @@ static inline unsigned int decode_config5(struct cpuinfo_mips *c) config5 &= ~MIPS_CONF5_UFR; write_c0_config5(config5); + if (config5 & MIPS_CONF5_EVA) + c->options |= MIPS_CPU_EVA; + return config5 & MIPS_CONF_M; }