OSDN Git Service

all arches, signal: move restart_block to struct task_struct
[sagit-ice-cold/kernel_xiaomi_msm8998.git] / kernel / time / hrtimer.c
index 3f5e183..bee0c1f 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;