diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-17 01:04:32 +0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 21:18:05 +0400 |
commit | 57e0be041d9e21a7397eed3b67a7936ac4ac83c0 (patch) | |
tree | 789396df941faa3b43bd61b27b675157a423070b /kernel | |
parent | d560fed6abe0f9975b509e4fb824e08ac19adc93 (diff) | |
download | linux-57e0be041d9e21a7397eed3b67a7936ac4ac83c0.tar.xz |
sched: Make task->real_start_time nanoseconds based
Simplify the only user of this data by removing the timespec
conversion.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 8f541930ce26..a7ab82db2f60 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1263,8 +1263,7 @@ static struct task_struct *copy_process(unsigned long clone_flags, posix_cpu_timers_init(p); ktime_get_ts(&p->start_time); - p->real_start_time = p->start_time; - monotonic_to_bootbased(&p->real_start_time); + p->real_start_time = ktime_get_boot_ns(); p->io_context = NULL; p->audit_context = NULL; if (clone_flags & CLONE_THREAD) |