Home
last modified time | relevance | path

Searched hist:"9 ca308506062fc4a4ee8ca7ad2f71033c831c2fb" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/time/
H A Dtime.cdiff 9ca308506062fc4a4ee8ca7ad2f71033c831c2fb Wed Jul 29 07:18:31 CDT 2015 Baolin Wang <baolin.wang@linaro.org> time: Introduce timespec64_to_jiffies()/jiffies_to_timespec64()

The conversion between struct timespec and jiffies is not year 2038
safe on 32bit systems. Introduce timespec64_to_jiffies() and
jiffies_to_timespec64() functions which use struct timespec64 to
make it ready for 2038 issue.

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>
/openbmc/linux/include/linux/
H A Djiffies.hdiff 9ca308506062fc4a4ee8ca7ad2f71033c831c2fb Wed Jul 29 07:18:31 CDT 2015 Baolin Wang <baolin.wang@linaro.org> time: Introduce timespec64_to_jiffies()/jiffies_to_timespec64()

The conversion between struct timespec and jiffies is not year 2038
safe on 32bit systems. Introduce timespec64_to_jiffies() and
jiffies_to_timespec64() functions which use struct timespec64 to
make it ready for 2038 issue.

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>