diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-10-19 14:14:49 +0300 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2017-10-31 01:17:20 +0300 |
commit | 6546911ed369af8d747215ff8b6144618e91c6ab (patch) | |
tree | dd207663bb415a316ca37641d4c719a07ac0f32e /include/linux/ktime.h | |
parent | abc8f96e3eb846fcf6333395ee1f6ed4a734576c (diff) | |
download | linux-6546911ed369af8d747215ff8b6144618e91c6ab.tar.xz |
time: Move old timekeeping interfaces to timekeeping32.h
The interfaces based on 'struct timespec' and 'unsigned long' seconds
are no longer recommended for new code, and we are trying to migrate to
ktime_t based interfaces and other y2038-safe variants.
This moves all the legacy interfaces from linux/timekeeping.h into a
new timekeeping32.h to better document this.
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/ktime.h')
-rw-r--r-- | include/linux/ktime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ktime.h b/include/linux/ktime.h index 0c8bd45c8206..5b9fddbaac41 100644 --- a/include/linux/ktime.h +++ b/include/linux/ktime.h @@ -270,5 +270,6 @@ static inline ktime_t ms_to_ktime(u64 ms) } # include <linux/timekeeping.h> +# include <linux/timekeeping32.h> #endif |