diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2016-04-08 06:02:12 (GMT) |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-04-22 18:49:04 (GMT) |
commit | 86d3473224b004f920c107206d181d37db735145 (patch) | |
tree | 3c3f646ec0d3947a9b3784b1b1d42bc167e9893c /kernel/time/tick-broadcast-hrtimer.c | |
parent | 457db29bfcfd1d9cc717587c446a89d60499d4a9 (diff) | |
download | linux-86d3473224b004f920c107206d181d37db735145.tar.xz |
time: Introduce do_sys_settimeofday64()
The do_sys_settimeofday() function uses a timespec, which is not year
2038 safe on 32bit systems.
Thus this patch introduces do_sys_settimeofday64(), which allows us to
transition users of do_sys_settimeofday() to using 64bit time types.
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
[jstultz: Include errno-base.h to avoid build issue on some arches]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/tick-broadcast-hrtimer.c')
0 files changed, 0 insertions, 0 deletions