selftests/timers: Add adjtimex validation test from timetest suite
[cascardo/linux.git] / kernel / futex.c
index 4eeb63d..2a5e383 100644 (file)
@@ -2217,7 +2217,7 @@ retry:
        if (!abs_time)
                goto out;
 
-       restart = &current_thread_info()->restart_block;
+       restart = &current->restart_block;
        restart->fn = futex_wait_restart;
        restart->futex.uaddr = uaddr;
        restart->futex.val = val;