OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mthca: Fix gup usage in mthca_map_user_db()
[uclinux-h8/linux.git]
/
drivers
/
infiniband
/
hw
/
mthca
/
mthca_memfree.c
diff --git
a/drivers/infiniband/hw/mthca/mthca_memfree.c
b/drivers/infiniband/hw/mthca/mthca_memfree.c
index
2a41ed7
..
2fe503e
100644
(file)
--- a/
drivers/infiniband/hw/mthca/mthca_memfree.c
+++ b/
drivers/infiniband/hw/mthca/mthca_memfree.c
@@
-472,7
+472,7
@@
int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
goto out;
}
- ret = get_user_pages
(uaddr & PAGE_MASK, 1, FOLL_WRITE, pages, NULL
);
+ ret = get_user_pages
_fast(uaddr & PAGE_MASK, 1, FOLL_WRITE, pages
);
if (ret < 0)
goto out;