projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae6696
)
MIPS: kernel: cpu-probe: Enable EVA option on supported cores
author
Markos Chandras
<markos.chandras@imgtec.com>
Thu, 9 Jan 2014 16:04:51 +0000
(16:04 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 26 Mar 2014 22:09:18 +0000
(23:09 +0100)
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/cpu-probe.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/cpu-probe.c
b/arch/mips/kernel/cpu-probe.c
index ee5de360636ddf61767b63b75b6341494868db12..e225b0d369e891bc11d15e75f279f60c9b5bddc7 100644
(file)
--- 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;
}