]> git.openpandora.org Git - pandora-kernel.git/commitdiff
timekeeping: update xtime_cache when time(zone) changes
authorThomas Gleixner <tglx@linutronix.de>
Fri, 1 Feb 2008 16:45:13 +0000 (17:45 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Feb 2008 16:45:13 +0000 (17:45 +0100)
xtime_cache needs to be updated whenever xtime and or wall_to_monotic
are changed. Otherwise users of xtime_cache might see a stale (and in
the case of timezone changes utterly wrong) value until the next
update happens.

Fixup the obvious places, which miss this update.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: John Stultz <johnstul@us.ibm.com>
Tested-by: Dhaval Giani <dhaval@linux.vnet.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/time.h
kernel/time.c
kernel/time/timekeeping.c

Simple merge
diff --cc kernel/time.c
Simple merge
Simple merge