mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
sched: Make task->start_time nanoseconds based
Simplify the timespec to nsec/usec conversions. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
57e0be041d
commit
ccbf62d8a2
4 changed files with 14 additions and 19 deletions
|
@ -1262,7 +1262,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
|
|||
|
||||
posix_cpu_timers_init(p);
|
||||
|
||||
ktime_get_ts(&p->start_time);
|
||||
p->start_time = ktime_get_ns();
|
||||
p->real_start_time = ktime_get_boot_ns();
|
||||
p->io_context = NULL;
|
||||
p->audit_context = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue