diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 11:38:14 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-01-06 11:38:14 -0700 |
commit | 3c10e1995150ab12e3fd134c8df034b97c02f604 (patch) | |
tree | e7097743b6b24a30c68595e2d170c6a0b5096519 /crypto/ablkcipher.c | |
parent | 363139a1adfd085f8f4091ada87263f0283b79ae (diff) | |
download | linux-crypto-3c10e1995150ab12e3fd134c8df034b97c02f604.tar.gz linux-crypto-3c10e1995150ab12e3fd134c8df034b97c02f604.zip |
dmaengine: provide a common 'issue_pending_all' implementation
async_tx and net_dma each have open-coded versions of issue_pending_all,
so provide a common routine in dmaengine.
The implementation needs to walk the global device list, so implement
rcu to allow dma_issue_pending_all to run lockless. Clients protect
themselves from channel removal events by holding a dmaengine reference.
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions