diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:17 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:16 -0400 |
commit | f0dfc0b0b7f3d961da8a98bcfccc8be9107a848b (patch) | |
tree | 41cd58ad3ed1a96381984ba8047d9887b951f1cb /crypto/async_tx | |
parent | 8fd75e1216e0ba601a746177e6c102d5593b572f (diff) |
crypto: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'crypto/async_tx')
-rw-r--r-- | crypto/async_tx/async_memcpy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/async_tx/async_memcpy.c b/crypto/async_tx/async_memcpy.c index 0d5a90ca6501..361b5e8239bc 100644 --- a/crypto/async_tx/async_memcpy.c +++ b/crypto/async_tx/async_memcpy.c | |||
@@ -79,13 +79,13 @@ async_memcpy(struct page *dest, struct page *src, unsigned int dest_offset, | |||
79 | /* wait for any prerequisite operations */ | 79 | /* wait for any prerequisite operations */ |
80 | async_tx_quiesce(&submit->depend_tx); | 80 | async_tx_quiesce(&submit->depend_tx); |
81 | 81 | ||
82 | dest_buf = kmap_atomic(dest, KM_USER0) + dest_offset; | 82 | dest_buf = kmap_atomic(dest) + dest_offset; |
83 | src_buf = kmap_atomic(src, KM_USER1) + src_offset; | 83 | src_buf = kmap_atomic(src) + src_offset; |
84 | 84 | ||
85 | memcpy(dest_buf, src_buf, len); | 85 | memcpy(dest_buf, src_buf, len); |
86 | 86 | ||
87 | kunmap_atomic(src_buf, KM_USER1); | 87 | kunmap_atomic(src_buf); |
88 | kunmap_atomic(dest_buf, KM_USER0); | 88 | kunmap_atomic(dest_buf); |
89 | 89 | ||
90 | async_tx_sync_epilog(submit); | 90 | async_tx_sync_epilog(submit); |
91 | } | 91 | } |