diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_user_pages.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_user_pages.c b/drivers/infiniband/hw/ipath/ipath_user_pages.c index 7393b3a8d419..e32fca9faf80 100644 --- a/drivers/infiniband/hw/ipath/ipath_user_pages.c +++ b/drivers/infiniband/hw/ipath/ipath_user_pages.c | |||
@@ -58,17 +58,6 @@ static int __get_user_pages(unsigned long start_page, size_t num_pages, | |||
58 | size_t got; | 58 | size_t got; |
59 | int ret; | 59 | int ret; |
60 | 60 | ||
61 | #if 0 | ||
62 | /* | ||
63 | * XXX - causes MPI programs to fail, haven't had time to check | ||
64 | * yet | ||
65 | */ | ||
66 | if (!capable(CAP_IPC_LOCK)) { | ||
67 | ret = -EPERM; | ||
68 | goto bail; | ||
69 | } | ||
70 | #endif | ||
71 | |||
72 | lock_limit = current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur >> | 61 | lock_limit = current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur >> |
73 | PAGE_SHIFT; | 62 | PAGE_SHIFT; |
74 | 63 | ||