]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d7cecc537b71f8069b67d63d07e92f1a38f0acc
treedd207663bb415a316ca37641d4c719a07ac0f32e
parentdfe35628a5e8d7d1a88b4baf9fb272b2eedf200e
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]