commit | c6daa7ffa834c850b3dbb38af6980415caef680d | [log] [tgz] |
---|---|---|
author | Cong Wang <amwang@redhat.com> | Fri Nov 25 23:14:26 2011 +0800 |
committer | Cong Wang <xiyou.wangcong@gmail.com> | Tue Mar 20 21:48:21 2012 +0800 |
tree | d41226b04d4a06ac613fdd7c4593ec196b803752 | |
parent | ca747d610b765f184e0662088dd9aeecf9a17822 [diff] |
vhost: remove the second argument of k[un]map_atomic() Signed-off-by: Cong Wang <amwang@redhat.com>
diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index c14c42b..bdb2d64 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c
@@ -937,9 +937,9 @@ if (r < 0) return r; BUG_ON(r != 1); - base = kmap_atomic(page, KM_USER0); + base = kmap_atomic(page); set_bit(bit, base); - kunmap_atomic(base, KM_USER0); + kunmap_atomic(base); set_page_dirty_lock(page); put_page(page); return 0;