diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 21:04:34 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 10:18:05 -0700 |
commit | ccbf62d8a284cf181ac28c8e8407dd077d90dd4b (patch) | |
tree | 7e1a4fffdc9a8f46e4bd22ad6070ad4fa768f1ed /kernel/fork.c | |
parent | 57e0be041d9e21a7397eed3b67a7936ac4ac83c0 (diff) | |
download | linux-ccbf62d8a284cf181ac28c8e8407dd077d90dd4b.tar.bz2 |
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>
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index a7ab82db2f60..627b7f80afb0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -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; |