]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/timekeeping.h
time: Move old timekeeping interfaces to timekeeping32.h
authorArnd Bergmann <arnd@arndb.de>
Thu, 19 Oct 2017 11:14:49 +0000 (13:14 +0200)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 30 Oct 2017 22:17:20 +0000 (15:17 -0700)
commit6546911ed369af8d747215ff8b6144618e91c6ab
treedd207663bb415a316ca37641d4c719a07ac0f32e
parentabc8f96e3eb846fcf6333395ee1f6ed4a734576c
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>
include/linux/ktime.h
include/linux/timekeeping.h
include/linux/timekeeping32.h [new file with mode: 0644]