time: Remove all direct references to timekeeper
authorJohn Stultz <john.stultz@linaro.org>
Fri, 27 Jul 2012 18:48:13 +0000 (14:48 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Jul 2012 15:09:14 +0000 (17:09 +0200)
commit4e250fdde9be50581c7dd5fed88c9b9960615314
tree12f19a5c6f55f67d2b8dc2f24d9efa25faaa8eab
parent6d0ef903e2bda70da124c10d8ad89f2382c87991
time: Remove all direct references to timekeeper

Ingo noted that the numerous timekeeper.value references made
the timekeeping code ugly and caused many long lines that
had to be broken up. He recommended replacing timekeeper.value
references with tk->value.

This patch provides a local tk value for all top level time
functions and sets it to &timekeeper. Then all timekeeper
access is done via a tk pointer.

Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Link: http://lkml.kernel.org/r/1343414893-45779-6-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/time/timekeeping.c