summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip22/ip22-platform.c
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2008-09-04 23:05:45 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-09-08 18:45:39 +0200
commit4a911b1efe219fa3c8af697be0054c72e13bdae4 (patch)
treeea642519d7412edf18bdd4b678133d5098373912 /arch/mips/sgi-ip22/ip22-platform.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto... (diff)
downloadlinux-4a911b1efe219fa3c8af697be0054c72e13bdae4.tar.xz
linux-4a911b1efe219fa3c8af697be0054c72e13bdae4.zip
[MIPS] IP22: Fix detection of second HPC3 on Challenge S
The second HPC3 could be found only on Guiness systems (Challenge-S), but not on fullhouse (Indigo2) systems. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-platform.c')
-rw-r--r--arch/mips/sgi-ip22/ip22-platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip22/ip22-platform.c b/arch/mips/sgi-ip22/ip22-platform.c
index 60141235ec40..52486c4d2b01 100644
--- a/arch/mips/sgi-ip22/ip22-platform.c
+++ b/arch/mips/sgi-ip22/ip22-platform.c
@@ -150,7 +150,7 @@ static int __init sgiseeq_devinit(void)
return res;
/* Second HPC is missing? */
- if (!ip22_is_fullhouse() ||
+ if (ip22_is_fullhouse() ||
get_dbe(tmp, (unsigned int *)&hpc3c1->pbdma[1]))
return 0;