diff options
author | John Stultz <john.stultz@linaro.org> | 2012-07-13 05:21:54 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-07-15 08:39:06 (GMT) |
commit | 1f4f948706bcec1b51bf6492bf04057d2e21e273 (patch) | |
tree | 1677cf2f130da9ff53259fdb658fa53a4ef81b4e /lib | |
parent | 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1 (diff) | |
download | linux-1f4f948706bcec1b51bf6492bf04057d2e21e273.tar.xz |
time: Refactor accumulation of nsecs to secs
We do the exact same logic moving nsecs to secs in the
timekeeper in multiple places, so condense this into a
single function.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Link: http://lkml.kernel.org/r/1342156917-25092-6-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions