time: Remove xtime_cache
authorjohn stultz <johnstul@us.ibm.com>
Fri, 2 Oct 2009 23:24:15 +0000 (16:24 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Oct 2009 11:52:02 +0000 (13:52 +0200)
commit7bc7d637452383d56ba4368d4336b0dde1bb476d
treef1c8e1e103a900850342d46de27ebdf1e7d07f78
parenta092ff0f90cae22b2ac8028ecd2c6f6c1a9e4601
time: Remove xtime_cache

With the prior logarithmic time accumulation patch, xtime will now
always be within one "tick" of the current time, instead of
possibly half a second off.

This removes the need for the xtime_cache value, which always
stored the time at the last interrupt, so this patch cleans that up
removing the xtime_cache related code.

This is a bit simpler, but still could use some wider testing.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: John Kacur <jkacur@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
LKML-Reference: <1254525855.7741.95.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/time.c
kernel/time/timekeeping.c