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_tx.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_tx.c')
-rw-r--r-- | crypto/async_tx/async_tx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/async_tx/async_tx.c b/crypto/async_tx/async_tx.c index f39777f30f60..562882189de5 100644 --- a/crypto/async_tx/async_tx.c +++ b/crypto/async_tx/async_tx.c | |||
@@ -361,13 +361,13 @@ static void __exit async_tx_exit(void) | |||
361 | } | 361 | } |
362 | 362 | ||
363 | /** | 363 | /** |
364 | * async_tx_find_channel - find a channel to carry out the operation or let | 364 | * __async_tx_find_channel - find a channel to carry out the operation or let |
365 | * the transaction execute synchronously | 365 | * the transaction execute synchronously |
366 | * @depend_tx: transaction dependency | 366 | * @depend_tx: transaction dependency |
367 | * @tx_type: transaction type | 367 | * @tx_type: transaction type |
368 | */ | 368 | */ |
369 | struct dma_chan * | 369 | struct dma_chan * |
370 | async_tx_find_channel(struct dma_async_tx_descriptor *depend_tx, | 370 | __async_tx_find_channel(struct dma_async_tx_descriptor *depend_tx, |
371 | enum dma_transaction_type tx_type) | 371 | enum dma_transaction_type tx_type) |
372 | { | 372 | { |
373 | /* see if we can keep the chain on one channel */ | 373 | /* see if we can keep the chain on one channel */ |
@@ -383,7 +383,7 @@ async_tx_find_channel(struct dma_async_tx_descriptor *depend_tx, | |||
383 | } else | 383 | } else |
384 | return NULL; | 384 | return NULL; |
385 | } | 385 | } |
386 | EXPORT_SYMBOL_GPL(async_tx_find_channel); | 386 | EXPORT_SYMBOL_GPL(__async_tx_find_channel); |
387 | #else | 387 | #else |
388 | static int __init async_tx_init(void) | 388 | static int __init async_tx_init(void) |
389 | { | 389 | { |