]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/async_tx/async_xor.c
async_tx: provide __async_inline for HAS_DMA=n archs
[linux-2.6-omap-h63xx.git] / crypto / async_tx / async_xor.c
index 595b78672b36ad90e27cf50ed28126bb43970fb5..95fe2c8d6c516ea0325b9287df8775adb542cee7 100644 (file)
 #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,