projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca747d6
)
vhost: remove the second argument of k[un]map_atomic()
author
Cong Wang
<amwang@redhat.com>
Fri, 25 Nov 2011 15:14:26 +0000
(23:14 +0800)
committer
Cong Wang
<xiyou.wangcong@gmail.com>
Tue, 20 Mar 2012 13:48:21 +0000
(21:48 +0800)
Signed-off-by: Cong Wang <amwang@redhat.com>
drivers/vhost/vhost.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/vhost.c
b/drivers/vhost/vhost.c
index c14c42b95ab8ef584a1bfb07c03154094425ed4c..bdb2d6436b2b4f9c4f6d89531abb3b1191a8b0d2 100644
(file)
--- a/
drivers/vhost/vhost.c
+++ b/
drivers/vhost/vhost.c
@@
-937,9
+937,9
@@
static int set_bit_to_user(int nr, void __user *addr)
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;