Skip to content

Commit

Permalink
MIPS: kernel: cpu-probe: Enable EVA option on supported cores
Browse files Browse the repository at this point in the history
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
  • Loading branch information
Markos Chandras authored and Ralf Baechle committed Mar 26, 2014
1 parent 7ae6696 commit 4901674
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 4901674

Please sign in to comment.