projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3147374
)
[MIPS] Uses MIPS_CONF_AR instead of magic constants.
author
Thiemo Seufer
<ths@networkno.de>
Mon, 3 Jul 2006 12:30:01 +0000
(13:30 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:01 +0000
(21:26 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
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 ba08f055feb2ed1b7ad2c14b8cb772e546c8353a..17eea1f96d9f7b3bfdb332e196696ba951981dd7 100644
(file)
--- a/
arch/mips/kernel/cpu-probe.c
+++ b/
arch/mips/kernel/cpu-probe.c
@@
-459,7
+459,7
@@
static inline unsigned int decode_config0(struct cpuinfo_mips *c)
isa = (config0 & MIPS_CONF_AT) >> 13;
switch (isa) {
case 0:
- switch ((config0
>> 10) & 7
) {
+ switch ((config0
& MIPS_CONF_AR) >> 10
) {
case 0:
c->isa_level = MIPS_CPU_ISA_M32R1;
break;
@@
-471,7
+471,7
@@
static inline unsigned int decode_config0(struct cpuinfo_mips *c)
}
break;
case 2:
- switch ((config0
>> 10) & 7
) {
+ switch ((config0
& MIPS_CONF_AR) >> 10
) {
case 0:
c->isa_level = MIPS_CPU_ISA_M64R1;
break;
This page took
0.027111 seconds
and
5
git commands to generate.