X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fdma%2Fioat_dma.c;h=bc8c6e3470ca258f6646c0ad2cd9278425296ec2;hb=7d283aee50351ec19eaf654a8690d77c4e1dff50;hp=a52156e568867e827c30f0008de9477df493b730;hpb=26dcce0fabbef75ae426461edf21b5030bad60f3;p=linux-2.6 diff --git a/drivers/dma/ioat_dma.c b/drivers/dma/ioat_dma.c index a52156e568..bc8c6e3470 100644 --- a/drivers/dma/ioat_dma.c +++ b/drivers/dma/ioat_dma.c @@ -551,7 +551,7 @@ static dma_cookie_t ioat1_tx_submit(struct dma_async_tx_descriptor *tx) /* 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_tail(&new_chain, &ioat_chan->used_desc); ioat_chan->dmacount += desc_count; ioat_chan->pending += desc_count;