time: Rework debugging variables so they aren't global
authorJohn Stultz <john.stultz@linaro.org>
Wed, 13 May 2015 23:04:47 +0000 (16:04 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 22 May 2015 16:13:43 +0000 (09:13 -0700)
commit57d05a93ada77c4f8a6112cbc867a2948dce7991
tree1313e259dd43849c7c920f0e8bad9cb6c9b36f67
parent6374f9124efea5fae9cba263108583c39e22f86b
time: Rework debugging variables so they aren't global

Ingo suggested that the timekeeping debugging variables
recently added should not be global, and should be tied
to the timekeeper's read_base.

Thus this patch implements that suggestion.

This version is different from the earlier versions
as it keeps the variables in the timekeeper structure
rather then in the tkr.

Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/timekeeper_internal.h
kernel/time/timekeeping.c