time: Clean up warp_clock()
authorJohn Stultz <johnstul@us.ibm.com>
Thu, 11 Mar 2010 22:04:47 +0000 (14:04 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 12 Mar 2010 21:40:42 +0000 (22:40 +0100)
commit64ce4c2f5252f25798117fa80a027993163d6d84
tree31aa86362e27a9a83958cf789ed31d4e674aa5ff
parentc28739375bf0d6e239b4fa939ec8372aa2c707d2
time: Clean up warp_clock()

warp_clock() currently accesses timekeeping internal state directly, which
is unnecessary.  Convert it to use the proper timekeeping interfaces.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time.c