diff options
Diffstat (limited to 'backport/backport-include/linux/ktime.h')
-rw-r--r-- | backport/backport-include/linux/ktime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backport/backport-include/linux/ktime.h b/backport/backport-include/linux/ktime.h index adefc270..6fbc6c6e 100644 --- a/backport/backport-include/linux/ktime.h +++ b/backport/backport-include/linux/ktime.h @@ -9,4 +9,9 @@ extern ktime_t ktime_get_raw(void); #endif /* < 3.17 */ +#ifndef ktime_to_timespec64 +/* Map the ktime_t to timespec conversion to ns_to_timespec function */ +#define ktime_to_timespec64(kt) ns_to_timespec64((kt).tv64) +#endif + #endif /* __BACKPORT_LINUX_KTIME_H */ |