[Cbe-oss-dev] [PATCH] spufs: fix restore_decr_wrapped()

Christoph Hellwig hch at lst.de
Mon Aug 27 23:42:46 EST 2007


> +	if ((csa->spu_chnlcnt_RW[0] == 0)
> +			&& (csa->spu_chnldata_RW[1] & 0x20)
> +			&& !(csa->spu_chnldata_RW[0] & 0x20))
>  		csa->spu_chnlcnt_RW[0] = 1;

This should be:

	if (csa->spu_chnlcnt_RW[0] == 0 &&
	    (csa->spu_chnldata_RW[1] & 0x20) &&
	    !(csa->spu_chnldata_RW[0] & 0x20))
		csa->spu_chnlcnt_RW[0] = 1;




More information about the cbe-oss-dev mailing list