]> Pileus Git - ~andy/linux/blobdiff - kernel/futex.c
sh: Use bootmem ontop of lmb
[~andy/linux] / kernel / futex.c
index 1c337112335c60d6831d7b5cf1ee9a26cba54a77..794c862125feff034a231d4f16a5106189625d10 100644 (file)
@@ -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;
 }