]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/futex.c
slub: Store max number of objects in the page struct.
[linux-2.6-omap-h63xx.git] / kernel / futex.c
index 87a6428cb5b67363a23252628c6a03d8b2a789c8..e43945e995f54040aecc49678922b9e18186db52 100644 (file)
@@ -281,7 +281,7 @@ static int get_futex_key(u32 __user *uaddr, struct rw_semaphore *fshared,
  */
 static void get_futex_key_refs(union futex_key *key)
 {
-       if (key->both.ptr == 0)
+       if (key->both.ptr == NULL)
                return;
        switch (key->both.offset & (FUT_OFF_INODE|FUT_OFF_MMSHARED)) {
                case FUT_OFF_INODE: