summaryrefslogtreecommitdiffstats
path: root/firmware/keyspan
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-07-13 07:21:54 +0200
committerThomas Gleixner <tglx@linutronix.de>2012-07-15 10:39:06 +0200
commit1f4f948706bcec1b51bf6492bf04057d2e21e273 (patch)
tree1677cf2f130da9ff53259fdb658fa53a4ef81b4e /firmware/keyspan
parenttime: Condense timekeeper.xtime into xtime_sec (diff)
downloadlinux-1f4f948706bcec1b51bf6492bf04057d2e21e273.tar.xz
linux-1f4f948706bcec1b51bf6492bf04057d2e21e273.zip
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 'firmware/keyspan')
0 files changed, 0 insertions, 0 deletions