diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-02-02 21:49:59 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-02-06 12:12:18 -0500 |
commit | 47437b2c9a64315efeb3d84e97ffefd6c3c67ef1 (patch) | |
tree | e0dec7b29bebb0a2113f143576d940c571869aa0 /crypto/async_tx/async_memset.c | |
parent | d4c56f97ff21df405d0cebe11f49e3c3c79662b5 (diff) |
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 8e98ab0cd37c..09c0e83664bc 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, | |||
46 | struct dma_async_tx_descriptor *depend_tx, | 46 | struct dma_async_tx_descriptor *depend_tx, |
47 | dma_async_tx_callback cb_fn, void *cb_param) | 47 | dma_async_tx_callback cb_fn, void *cb_param) |
48 | { | 48 | { |
49 | struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMSET); | 49 | struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMSET, |
50 | &dest, 1, NULL, 0, len); | ||
50 | struct dma_device *device = chan ? chan->device : NULL; | 51 | struct dma_device *device = chan ? chan->device : NULL; |
51 | struct dma_async_tx_descriptor *tx = NULL; | 52 | struct dma_async_tx_descriptor *tx = NULL; |
52 | 53 | ||