summaryrefslogtreecommitdiffstats
path: root/include/linux/async_tx.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-07-17 17:59:55 -0700
committerDan Williams <dan.j.williams@intel.com>2008-07-17 17:59:55 -0700
commitd2c52b7983b95bb3fc2a784e479f832f142d4523 (patch)
tree7bc37e7438cee523496674adcd97034df764af47 /include/linux/async_tx.h
parent669ab0b210f9bd15d94d4d6a49ae13366a85e4da (diff)
downloadop-kernel-dev-d2c52b7983b95bb3fc2a784e479f832f142d4523.zip
op-kernel-dev-d2c52b7983b95bb3fc2a784e479f832f142d4523.tar.gz
async_tx: export async_tx_quiesce
Replace open coded "wait and acknowledge" instances with async_tx_quiesce. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux/async_tx.h')
-rw-r--r--include/linux/async_tx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/async_tx.h b/include/linux/async_tx.h
index eb640f0..9f0e7bd 100644
--- a/include/linux/async_tx.h
+++ b/include/linux/async_tx.h
@@ -152,4 +152,6 @@ struct dma_async_tx_descriptor *
async_trigger_callback(enum async_tx_flags flags,
struct dma_async_tx_descriptor *depend_tx,
dma_async_tx_callback cb_fn, void *cb_fn_param);
+
+void async_tx_quiesce(struct dma_async_tx_descriptor **tx);
#endif /* _ASYNC_TX_H_ */
OpenPOWER on IntegriCloud