Merge tag 'topic/drm-misc-2015-07-28' into drm-intel-next-queued
[cascardo/linux.git] / kernel / futex_compat.c
index f9f44fd..55c8c93 100644 (file)
@@ -183,7 +183,7 @@ COMPAT_SYSCALL_DEFINE6(futex, u32 __user *, uaddr, int, op, u32, val,
        if (utime && (cmd == FUTEX_WAIT || cmd == FUTEX_LOCK_PI ||
                      cmd == FUTEX_WAIT_BITSET ||
                      cmd == FUTEX_WAIT_REQUEUE_PI)) {
-               if (get_compat_timespec(&ts, utime))
+               if (compat_get_timespec(&ts, utime))
                        return -EFAULT;
                if (!timespec_valid(&ts))
                        return -EINVAL;