diff options
author | John Stultz <johnstul@us.ibm.com> | 2007-02-16 04:27:30 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-16 11:13:57 -0500 |
commit | 411187fb05cd11676b0979d9fbf3291db69dbce2 (patch) | |
tree | 6202ca36868ab47edf737de81c7b7c4841228ab3 /kernel/hrtimer.c | |
parent | 9f907c0144496e464bd5ed5a99a51227d63a9c0b (diff) |
[PATCH] GTOD: persistent clock support
Persistent clock support: do proper timekeeping across suspend/resume.
[bunk@stusta.de: cleanup]
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/hrtimer.c')
-rw-r--r-- | kernel/hrtimer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index 80666f6cd4f9..c0fdb9b6d296 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
@@ -292,6 +292,14 @@ static unsigned long ktime_divns(const ktime_t kt, s64 div) | |||
292 | #endif /* BITS_PER_LONG >= 64 */ | 292 | #endif /* BITS_PER_LONG >= 64 */ |
293 | 293 | ||
294 | /* | 294 | /* |
295 | * Timekeeping resumed notification | ||
296 | */ | ||
297 | void hrtimer_notify_resume(void) | ||
298 | { | ||
299 | clock_was_set(); | ||
300 | } | ||
301 | |||
302 | /* | ||
295 | * Counterpart to lock_timer_base above: | 303 | * Counterpart to lock_timer_base above: |
296 | */ | 304 | */ |
297 | static inline | 305 | static inline |