This function was added in commit d6d29896c665d ("timekeeping: Provide timespec64 based interfaces"). We can just use the 32 bit version instated as the rest was already backported in backports commit ea8b7cd797ca0c ("backports: deal with struct timespec64 changes)". Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/timekeeping.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backport/backport-include/linux/timekeeping.h b/backport/backport-include/linux/timekeeping.h index c108645f..30f9b7a9 100644 --- a/backport/backport-include/linux/timekeeping.h +++ b/backport/backport-include/linux/timekeeping.h @@ -44,4 +44,11 @@ static inline time64_t ktime_get_real_seconds(void) } #endif +#if LINUX_VERSION_IS_LESS(3,17,0) +static inline void ktime_get_ts64(struct timespec64 *ts) +{ + ktime_get_ts(ts); +} +#endif + #endif /* __BACKPORT_TIMEKEEPING_H */ -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe backports" in