time: Introduce struct itimerspec64
authorBaolin Wang <baolin.wang@linaro.org>
Wed, 29 Jul 2015 11:58:15 +0000 (19:58 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 17 Aug 2015 18:25:28 +0000 (11:25 -0700)
commit19a46fe57a005a884ccb38419071f772ac2fca2b
tree9636598b561795e587c5aa83ceb88abf202aa994
parent7494e9eedee2121305a48af4fbbcedb69a2c2b93
time: Introduce struct itimerspec64

The struct itimerspec is not year 2038 safe on 32bit systems due to
the limitation of the struct timespec members. Introduce itimerspec64
which uses struct timespec64 instead and provide conversion functions.

Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/time64.h