linux-stable-rt/kernel/time
Thomas Gleixner b52f52a093 clocksource: fix resume logic
We need to make sure that the clocksources are resumed, when timekeeping is
resumed.  The current resume logic does not guarantee this.

Add a resume function pointer to the clocksource struct, so clocksource
drivers which need to reinitialize the clocksource can provide a resume
function.

Add a resume function, which calls the maybe available clocksource resume
functions and resets the watchdog function, so a stable TSC can be used
accross suspend/resume.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:56 -07:00
..
Kconfig
Makefile
clockevents.c
clocksource.c clocksource: fix resume logic 2007-05-09 12:30:56 -07:00
jiffies.c
ntp.c
tick-broadcast.c
tick-common.c highres/dyntick: prevent xtime lock contention 2007-05-08 11:15:10 -07:00
tick-internal.h highres/dyntick: prevent xtime lock contention 2007-05-08 11:15:10 -07:00
tick-oneshot.c
tick-sched.c sched: dynticks idle load balancing 2007-05-08 11:15:17 -07:00
timekeeping.c
timer_list.c Fix printk format warnings in timer_list.c 2007-05-09 12:30:50 -07:00
timer_stats.c Fix race between cat /proc/*/wchan and rmmod et al 2007-05-08 11:15:08 -07:00