Message ID | 20180917213142.7875-7-hauke@hauke-m.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [1/7] backports: Remove unused parts | expand |
diff --git a/backport/backport-include/linux/timekeeping.h b/backport/backport-include/linux/timekeeping.h index 56c3deec..73ce9f17 100644 --- a/backport/backport-include/linux/timekeeping.h +++ b/backport/backport-include/linux/timekeeping.h @@ -58,4 +58,12 @@ static inline void ktime_get_ts64(struct timespec64 *ts) } #endif +#if LINUX_VERSION_IS_LESS(4,18,0) +#define ktime_get_raw_ts64 LINUX_BACKPORT(ktime_get_raw_ts64) +static inline void ktime_get_raw_ts64(struct timespec64 *ts) +{ + return getrawmonotonic64(ts); +} +#endif + #endif /* __BACKPORT_TIMEKEEPING_H */
ktime_get_raw_ts64() uses the old function which was renmaed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- backport/backport-include/linux/timekeeping.h | 8 ++++++++ 1 file changed, 8 insertions(+)