]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - kernel/futex_compat.c
compat: Get rid of (get|put)_compat_time(val|spec)
[mirror_ubuntu-bionic-kernel.git] / kernel / futex_compat.c
index f9f44fd4d34d443b1d7f28c3d5f3428b06aec614..55c8c9349cfe6db49b9443c7b4aefb378c6f0249 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;