summaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2014-06-30 19:26:30 +0200
committerMike Snitzer <snitzer@redhat.com>2014-08-01 18:30:30 +0200
commit97e7cdf12ba324b599d404172c5899185ef2bbde (patch)
tree044e4e2465d6716ae3cbb7e549b49a022da1e299 /drivers/remoteproc
parentdm cache: fix race affecting dirty block count (diff)
downloadlinux-97e7cdf12ba324b599d404172c5899185ef2bbde.tar.xz
linux-97e7cdf12ba324b599d404172c5899185ef2bbde.zip
dm io: simplify dec_count and sync_io
Remove the io struct off the stack in sync_io() and allocate it from the mempool like is done in async_io(). dec_count() now always calls a callback function and always frees the io struct back to the mempool (so sync_io and async_io share this pattern). Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions