3 #include <linux/version.h>
4 #include_next <linux/hrtimer.h>
5 #include <linux/interrupt.h>
7 #if LINUX_VERSION_IS_LESS(4,10,0)
8 static inline void backport_hrtimer_start(struct hrtimer
*timer
, s64 time
,
9 const enum hrtimer_mode mode
)
11 ktime_t _time
= { .tv64
= time
};
12 hrtimer_start(timer
, _time
, mode
);
14 #define hrtimer_start LINUX_BACKPORT(hrtimer_start)
17 #endif /* _BP_HRTIMER_H */