]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - kernel/time/hrtimer.c
all arches, signal: move restart_block to struct task_struct
[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;