The following patchset replaces instances of time_t with time64_t to address the y2038 problem. The patchset also makes the code independent of settimeofday(). Changes in v2: - Changed the function get_seconds() that return a 32-bit integer to ktime_get_real_ts64() that returns a struct of type timespec64 and use the tv_sec part which is 64-bit. - Change the type of ticks from time_t to u32. We keep ticks as 32-bits as the function uses 32-bit arithmetic which would prove less expensive than 64-bit arithmetic and the function is expected to be called atleast once every 32 seconds. Changes in v3: - Changed commenting style. Changes in v4: - Changed the subject tag. Changes in v5: - Changed a comment and added a patch that make the code independent of settimeofday(). Heena Sirwani (2): cpuset: Replace all instances of time_t with time64_t cpuset: Replace ktime_get_real_ts64() with ktime_get_ts64() kernel/cpuset.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe cgroups" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html