Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123157
b: refs/heads/master
c: 734b05b
h: refs/heads/master
i:
  123155: dfc1633
v: v3
  • Loading branch information
Peter Zijlstra authored and Ingo Molnar committed Sep 30, 2008
1 parent ab7d018 commit 381561f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 61270708ecf1cda148e84fbf6e0703ee5aa81814
refs/heads/master: 734b05b10e51d4ba38c8fc3ee02e846aab09eedf
4 changes: 1 addition & 3 deletions trunk/kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,7 @@ static int get_futex_key(u32 __user *uaddr, struct rw_semaphore *fshared,
}

again:
down_read(&mm->mmap_sem);
err = get_user_pages(current, mm, address, 1, 0, 0, &page, NULL);
up_read(&mm->mmap_sem);
err = get_user_pages_fast(address, 1, 0, &page);
if (err < 0)
return err;

Expand Down

0 comments on commit 381561f

Please sign in to comment.