Home
last modified time | relevance | path

Searched hist:"90 b6ce9c4066e0b2098dff65e52e6e7df1a51079" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/time/
H A Dtime.cdiff 90b6ce9c4066e0b2098dff65e52e6e7df1a51079 Tue Nov 18 05:15:18 CST 2014 pang.xunlei <pang.xunlei@linaro.org> time: Provide y2038 safe mktime() replacement

As part of addressing "y2038 problem" for in-kernel uses, this
patch adds safe mktime64() using time64_t.

After this patch, mktime() is deprecated and all its call sites
will be fixed using mktime64(), after that it can be removed.

Signed-off-by: pang.xunlei <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
/openbmc/linux/include/linux/
H A Dtime.hdiff 90b6ce9c4066e0b2098dff65e52e6e7df1a51079 Tue Nov 18 05:15:18 CST 2014 pang.xunlei <pang.xunlei@linaro.org> time: Provide y2038 safe mktime() replacement

As part of addressing "y2038 problem" for in-kernel uses, this
patch adds safe mktime64() using time64_t.

After this patch, mktime() is deprecated and all its call sites
will be fixed using mktime64(), after that it can be removed.

Signed-off-by: pang.xunlei <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>