Commit 22001821d9cb6ddb83ee4e1f81e6b905de623165

Authored by Thomas Gleixner
1 parent 963649d735

acct: Use ktime_get_ts()

do_posix_clock_monotonic_gettime() is a leftover from the initial
posix timer implementation which maps to ktime_get_ts()

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140611234606.764810535@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -484,7 +484,7 @@
484 484 strlcpy(ac.ac_comm, current->comm, sizeof(ac.ac_comm));
485 485  
486 486 /* calculate run_time in nsec*/
487   - do_posix_clock_monotonic_gettime(&uptime);
  487 + ktime_get_ts(&uptime);
488 488 run_time = (u64)uptime.tv_sec*NSEC_PER_SEC + uptime.tv_nsec;
489 489 run_time -= (u64)current->group_leader->start_time.tv_sec * NSEC_PER_SEC
490 490 + current->group_leader->start_time.tv_nsec;