• john stultz's avatar
    time: Remove xtime_cache · 7bc7d637
    john stultz authored
    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: default avatarJohn Stultz <johnstul@us.ibm.com>
    Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarJohn 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: default avatarIngo Molnar <mingo@elte.hu>
    7bc7d637
timekeeping.c 23 KB