]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/time/hrtimer.c
cxgb4: fix coccinelle warnings
[karo-tx-linux.git] / kernel / time / hrtimer.c
index 3f5e183c3d9727934eee93ba74038cab5cf19cd5..bee0c1f780911a97a4598b81089c9bc4d807d037 100644 (file)
@@ -1583,7 +1583,7 @@ long hrtimer_nanosleep(struct timespec *rqtp, struct timespec __user *rmtp,
                        goto out;
        }
 
-       restart = &current_thread_info()->restart_block;
+       restart = &current->restart_block;
        restart->fn = hrtimer_nanosleep_restart;
        restart->nanosleep.clockid = t.timer.base->clockid;
        restart->nanosleep.rmtp = rmtp;