diff options
-rw-r--r-- | kernel/futex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c index 6c91f938005d..22aa3c16ca73 100644 --- a/kernel/futex.c +++ b/kernel/futex.c | |||
@@ -1208,7 +1208,7 @@ static int do_futex_lock_pi(u32 __user *uaddr, int detect, int trylock, | |||
1208 | } | 1208 | } |
1209 | 1209 | ||
1210 | down_read(&curr->mm->mmap_sem); | 1210 | down_read(&curr->mm->mmap_sem); |
1211 | hb = queue_lock(&q, -1, NULL); | 1211 | spin_lock(q.lock_ptr); |
1212 | 1212 | ||
1213 | /* | 1213 | /* |
1214 | * Got the lock. We might not be the anticipated owner if we | 1214 | * Got the lock. We might not be the anticipated owner if we |