Merge branch 'dmaengine' into async-tx-raid6
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#ifdef CONFIG_DMA_ENGINE
|
||||
static int __init async_tx_init(void)
|
||||
{
|
||||
dmaengine_get();
|
||||
async_dmaengine_get();
|
||||
|
||||
printk(KERN_INFO "async_tx: api initialized (async)\n");
|
||||
|
||||
@@ -39,7 +39,7 @@ static int __init async_tx_init(void)
|
||||
|
||||
static void __exit async_tx_exit(void)
|
||||
{
|
||||
dmaengine_put();
|
||||
async_dmaengine_put();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -56,7 +56,7 @@ __async_tx_find_channel(struct dma_async_tx_descriptor *depend_tx,
|
||||
if (depend_tx &&
|
||||
dma_has_cap(tx_type, depend_tx->chan->device->cap_mask))
|
||||
return depend_tx->chan;
|
||||
return dma_find_channel(tx_type);
|
||||
return async_dma_find_channel(tx_type);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(__async_tx_find_channel);
|
||||
#else
|
||||
|
@@ -30,11 +30,8 @@
|
||||
#include <linux/raid/xor.h>
|
||||
#include <linux/async_tx.h>
|
||||
|
||||
/* do_async_xor - dma map the pages and perform the xor with an engine.
|
||||
* This routine is marked __always_inline so it can be compiled away
|
||||
* when CONFIG_DMA_ENGINE=n
|
||||
*/
|
||||
static __always_inline struct dma_async_tx_descriptor *
|
||||
/* do_async_xor - dma map the pages and perform the xor with an engine */
|
||||
static __async_inline struct dma_async_tx_descriptor *
|
||||
do_async_xor(struct dma_chan *chan, struct page *dest, struct page **src_list,
|
||||
unsigned int offset, int src_cnt, size_t len,
|
||||
enum async_tx_flags flags,
|
||||
|
Reference in New Issue
Block a user