projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f9085
)
[MIPS] IP22: Fix wrong check for second HPC
author
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Tue, 11 Sep 2007 10:46:03 +0000
(12:46 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 11 Sep 2007 18:03:26 +0000
(19:03 +0100)
Wrong check for the second hpc on fullhouse machines, caused DBEs on
SGI Indys
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sgi-ip22/ip22-platform.c
patch
|
blob
|
history
diff --git
a/arch/mips/sgi-ip22/ip22-platform.c
b/arch/mips/sgi-ip22/ip22-platform.c
index 78b608d2d4e1d46e94624a13d4862a19547c0d42..28ffec8e5d1ae9d26f34904f6bb54146e8a294f9 100644
(file)
--- a/
arch/mips/sgi-ip22/ip22-platform.c
+++ b/
arch/mips/sgi-ip22/ip22-platform.c
@@
-150,8
+150,8
@@
static int __init sgiseeq_devinit(void)
return res;
/* Second HPC is missing? */
- if (ip22_is_fullhouse() ||
-
!
get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
+ if (
!
ip22_is_fullhouse() ||
+ get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
return 0;
sgimc->giopar |= SGIMC_GIOPAR_MASTEREXP1 | SGIMC_GIOPAR_EXP164 |