Re: 2.6.24-rc7-rt1

From: Steven Rostedt
Date: Mon Jan 14 2008 - 11:53:16 EST




On Mon, 14 Jan 2008, [utf-8] S.Ã^GaÄ^_lar Onur wrote:

>
> Following seems solves this issue;
>
> Index: linux-2.6.23/drivers/dma/ioat_dma.c
> ===================================================================
> --- linux-2.6.23.orig/drivers/dma/ioat_dma.c
> +++ linux-2.6.23/drivers/dma/ioat_dma.c
> @@ -260,7 +260,7 @@ static dma_cookie_t ioat1_tx_submit(stru
> /* write address into NextDescriptor field of last desc in chain */
> to_ioat_desc(ioat_chan->used_desc.prev)->hw->next =
> first->async_tx.phys;
> - __list_splice(&new_chain, ioat_chan->used_desc.prev);
> + list_splice(&new_chain, &ioat_chan->used_desc);

Thanks, but I already fixed it. It requires a list_splice_tail.

-- Steve

>
> ioat_chan->dmacount += desc_count;
> ioat_chan->pending += desc_count;
>
>

--
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/