diff options
author | Deepa Dinamani <deepa.kernel@gmail.com> | 2016-06-09 07:04:59 +0200 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2016-06-20 21:47:15 +0200 |
commit | e6c2682a1da36a2e79d9bab470412374434ce89e (patch) | |
tree | da24b0529e5ae9ed16b884a2a9fed43a5a3d5a53 /kernel/time/posix-cpu-timers.c | |
parent | alarmtimer: Fix comments describing structure fields (diff) | |
download | linux-e6c2682a1da36a2e79d9bab470412374434ce89e.tar.xz linux-e6c2682a1da36a2e79d9bab470412374434ce89e.zip |
time: Add time64_to_tm()
time_to_tm() takes time_t as an argument.
time_t is not y2038 safe.
Add time64_to_tm() that takes time64_t as an argument
which is y2038 safe.
The plan is to eventually replace all calls to time_to_tm()
by time64_to_tm().
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: Deepa Dinamani <deepa.kernel@gmail.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions