From: Thomas Bogendoerfer Date: Tue, 11 Sep 2007 10:46:03 +0000 (+0200) Subject: [MIPS] IP22: Fix wrong check for second HPC X-Git-Tag: upstream/snapshot3+hdmi~31247^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0ba8bc60ca482d678fcc63af44b243de6555dab5;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [MIPS] IP22: Fix wrong check for second HPC Wrong check for the second hpc on fullhouse machines, caused DBEs on SGI Indys Signed-off-by: Thomas Bogendoerfer Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/sgi-ip22/ip22-platform.c b/arch/mips/sgi-ip22/ip22-platform.c index 78b608d..28ffec8 100644 --- 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 |