mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
9f907c0144
commit
411187fb05
4 changed files with 50 additions and 1 deletions
|
@ -92,6 +92,7 @@ extern struct timespec xtime;
|
|||
extern struct timespec wall_to_monotonic;
|
||||
extern seqlock_t xtime_lock __attribute__((weak));
|
||||
|
||||
extern unsigned long read_persistent_clock(void);
|
||||
void timekeeping_init(void);
|
||||
|
||||
static inline unsigned long get_seconds(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue