]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dmaengine: remove dependency on async_tx
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 00:14:31 +0000 (17:14 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 01:10:19 +0000 (18:10 -0700)
commit07f2211e4fbce6990722d78c4f04225da9c0e9cf
tree51934e20a334e93c8c399d2e6375f264551e9bc3
parent28405d8d9ce05f5bd869ef8b48da5086f9527d73
dmaengine: remove dependency on async_tx

async_tx.ko is a consumer of dma channels.  A circular dependency arises
if modules in drivers/dma rely on common code in async_tx.ko.  It
prevents either module from being unloaded.

Move dma_wait_for_async_tx and async_tx_run_dependencies to dmaeninge.o
where they should have been from the beginning.

Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
crypto/async_tx/async_tx.c
drivers/dma/Kconfig
drivers/dma/dmaengine.c
drivers/dma/iop-adma.c
drivers/dma/mv_xor.c
include/linux/async_tx.h
include/linux/dmaengine.h