diff options
author | John Stultz <john.stultz@linaro.org> | 2014-07-16 21:04:01 +0000 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 10:17:54 -0700 |
commit | 7d489d15ce4be5310ca60e5896df833f9b3b4088 (patch) | |
tree | cc1014424d4d040f282fa66dba8a387a3d42051a /kernel/time/timekeeping_debug.c | |
parent | 49cd6f869984692547c57621bf42697aaa7f5622 (diff) | |
download | linux-stable-7d489d15ce4be5310ca60e5896df833f9b3b4088.tar.gz linux-stable-7d489d15ce4be5310ca60e5896df833f9b3b4088.tar.bz2 linux-stable-7d489d15ce4be5310ca60e5896df833f9b3b4088.zip |
timekeeping: Convert timekeeping core to use timespec64s
Convert the core timekeeping logic to use timespec64s. This moves the
2038 issues out of the core logic and into all of the accessor
functions.
Future changes will need to push the timespec64s out to all
timekeeping users, but that can be done interface by interface.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/timekeeping_debug.c')
-rw-r--r-- | kernel/time/timekeeping_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/timekeeping_debug.c b/kernel/time/timekeeping_debug.c index 4d54f97558df..f6bd65236712 100644 --- a/kernel/time/timekeeping_debug.c +++ b/kernel/time/timekeeping_debug.c @@ -67,7 +67,7 @@ static int __init tk_debug_sleep_time_init(void) } late_initcall(tk_debug_sleep_time_init); -void tk_debug_account_sleep_time(struct timespec *t) +void tk_debug_account_sleep_time(struct timespec64 *t) { sleep_time_bin[fls(t->tv_sec)]++; } |