diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-02-02 19:49:59 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-02-06 10:12:18 -0700 |
commit | 32a5ed2b5dda43b5284a61e4e93f96386ec4975d (patch) | |
tree | 637ff3d7bda95061f824e943a9e1e471c7f3c664 /crypto/async_tx/async_memset.c | |
parent | 87c00fd11cddf2129f6a7077b3a063cc734522a4 (diff) | |
download | linux-crypto-32a5ed2b5dda43b5284a61e4e93f96386ec4975d.tar.gz linux-crypto-32a5ed2b5dda43b5284a61e4e93f96386ec4975d.zip |
async_tx: allow architecture specific async_tx_find_channel implementations
The source and destination addresses are included to allow channel
selection based on address alignment.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'crypto/async_tx/async_memset.c')
-rw-r--r-- | crypto/async_tx/async_memset.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/async_tx/async_memset.c b/crypto/async_tx/async_memset.c index 8e98ab0c..09c0e836 100644 --- a/crypto/async_tx/async_memset.c +++ b/crypto/async_tx/async_memset.c @@ -46,7 +46,8 @@ async_memset(struct page *dest, int val, unsigned int offset, struct dma_async_tx_descriptor *depend_tx, dma_async_tx_callback cb_fn, void *cb_param) { - struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMSET); + struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMSET, + &dest, 1, NULL, 0, len); struct dma_device *device = chan ? chan->device : NULL; struct dma_async_tx_descriptor *tx = NULL; |