summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-05-09 02:35:15 -0700
committerChris Wright <chrisw@sous-sol.org>2007-05-23 14:32:48 -0700
commitf34ddce1302d548244c499b2905ab2fe999610c6 (patch)
tree086a1a9fe51f94bf17798bf7bdb1773d2a5205c8 /drivers
parent8e4a8227450fb3327c244642fca616daa6ca7879 (diff)
[PATCH] 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> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions