Re: 2.4.23+BK: PPC compile error

From: Meelis Roos
Date: Wed Dec 10 2003 - 10:12:23 EST


> PPC32: Fix a thinko in arch/ppc/kernel/cpu_setup_6xx.S
>
> --- 1.6/arch/ppc/kernel/cpu_setup_6xx.S Wed Dec 3 08:48:47 2003
> +++ edited/arch/ppc/kernel/cpu_setup_6xx.S Mon Dec 8 08:26:37 2003
> @@ -161,7 +161,7 @@
> rlwinm r3,r10,16,16,31
> cmplwi r3,0x000c
> bne 1f /* Not a 7400. */
> - andi r3,r10,0x0f0f
> + andi. r3,r10,0x0f0f
> cmpwi 0,r3,0x0200
> bgt 1f /* Rev >= 2.1 */
> li r3,HID0_SGE /* 7400 rev < 2.1, clear SGE. */

This fix works fine, thanks!

--
Meelis Roos (mroos@xxxxxxxx)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/