Messages in this thread Patch in this message | | | From | "S.Çağlar Onur" <> | Subject | Re: 2.6.24-rc7-rt1 | Date | Mon, 14 Jan 2008 20:39:39 +0200 |
| |
Hi;
14 Oca 2008 Pts tarihinde, Mike Galbraith şunları yazmıştı: > btw, CONFIG_INTEL_IOATDMA compile booboo > > CC drivers/dma/ioat_dma.o > drivers/dma/ioat_dma.c: In function ‘ioat1_tx_submit’: > drivers/dma/ioat_dma.c:300: error: too few arguments to function ‘__list_splice’ > make[2]: *** [drivers/dma/ioat_dma.o] Error 1
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); ioat_chan->dmacount += desc_count; ioat_chan->pending += desc_count;
Cheers -- S.Çağlar Onur <caglar@pardus.org.tr> http://cekirdek.pardus.org.tr/~caglar/
Linux is like living in a teepee. No Windows, no Gates and an Apache in house! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |