Commit 3e0018bc authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Linus Torvalds
Browse files

[PATCH] IB/ipath: remove some #if 0 code related to lockable memory

Signed-off-by: default avatarDave Olson <>
Signed-off-by: default avatarBryan O'Sullivan <>
Cc: "Michael S. Tsirkin" <>
Cc: Roland Dreier <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 35783ec0
......@@ -58,17 +58,6 @@ static int __get_user_pages(unsigned long start_page, size_t num_pages,
size_t got;
int ret;
#if 0
* XXX - causes MPI programs to fail, haven't had time to check
* yet
if (!capable(CAP_IPC_LOCK)) {
ret = -EPERM;
goto bail;
lock_limit = current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur >>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment