Skip to content

Commit

Permalink
time: Remove all direct references to timekeeper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Stultz authored and Ingo Molnar committed Jul 31, 2012
1 parent 6d0ef90 commit 4e250fd
Showing 1 changed file with 154 additions and 128 deletions.
Loading

0 comments on commit 4e250fd

Please sign in to comment.