projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed2288
)
rapidio: switch to get_user_pages_fast()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 29 Jan 2017 08:12:00 +0000
(
03:12
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 23 Sep 2017 03:14:14 +0000
(23:14 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/rapidio/devices/rio_mport_cdev.c
patch
|
blob
|
history
diff --git
a/drivers/rapidio/devices/rio_mport_cdev.c
b/drivers/rapidio/devices/rio_mport_cdev.c
index 5beb0c361076ba5869a259c8006c52367e41f748..cf8e4ec2fd48ecedc5d692e1ecb99e96cd2faf3d 100644
(file)
--- a/
drivers/rapidio/devices/rio_mport_cdev.c
+++ b/
drivers/rapidio/devices/rio_mport_cdev.c
@@
-889,11
+889,9
@@
rio_dma_transfer(struct file *filp, u32 transfer_mode,
goto err_req;
}
- pinned = get_user_pages_
unlocked
(
+ pinned = get_user_pages_
fast
(
(unsigned long)xfer->loc_addr & PAGE_MASK,
- nr_pages,
- page_list,
- dir == DMA_FROM_DEVICE ? FOLL_WRITE : 0);
+ nr_pages, dir == DMA_FROM_DEVICE, page_list);
if (pinned != nr_pages) {
if (pinned < 0) {