On Fri, Apr 29, 2016 at 9:39 AM, Deepa Dinamani deepa.kernel@gmail.com wrote:
timespec64_add_safe() has been defined in time64.h for 64 bit systems. But, 32 bit systems only have an extern function prototype defined. Provide a definition for the above function.
The function will be necessary as part of y2038 changes. struct timespec is not y2038 safe. All references to timespec will be replaced by struct timespec64. The function is meant to be a replacement for timespec_add_safe().
The implementation is similar to timespec_add_safe().
Signed-off-by: Deepa Dinamani deepa.kernel@gmail.com Cc: John Stultz john.stultz@linaro.org Cc: Thomas Gleixner tglx@linutronix.de
include/linux/time64.h | 4 +--- kernel/time/time.c | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-)
Looks ok at the first glance. I've queued these up for testing, however I only got #1 and #3 of the set. Are you hoping these two patches will go through tip/timers/core or are you looking for acks so they can go via another tree?
thanks -john