diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2015-07-29 12:18:31 (GMT) |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2015-08-17 18:25:41 (GMT) |
commit | 9ca308506062fc4a4ee8ca7ad2f71033c831c2fb (patch) | |
tree | b2d7d5d5dabaef01962504d8c1a1027efbbaf1b8 /scripts/recordmcount.c | |
parent | 8758a240e2d74c5932ab51a73377e6507b7fd441 (diff) | |
download | linux-9ca308506062fc4a4ee8ca7ad2f71033c831c2fb.tar.xz |
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>
Diffstat (limited to 'scripts/recordmcount.c')
0 files changed, 0 insertions, 0 deletions