Skip to content

Commit

Permalink
Merge branch 'futexes-for-linus' of git://git.kernel.org/pub/scm/linu…
Browse files Browse the repository at this point in the history
…x/kernel/git/tip/linux-2.6-tip

* 'futexes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  futex: request only one page from get_user_pages()
  • Loading branch information
Linus Torvalds committed Jun 25, 2009
2 parents f4fa446 + aa71528 commit ed4fc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/futex.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void put_futex_key(int fshared, union futex_key *key)
static int fault_in_user_writeable(u32 __user *uaddr)
{
int ret = get_user_pages(current, current->mm, (unsigned long)uaddr,
sizeof(*uaddr), 1, 0, NULL, NULL);
1, 1, 0, NULL, NULL);
return ret < 0 ? ret : 0;
}

Expand Down

0 comments on commit ed4fc72

Please sign in to comment.