From 515a1fa55cda2b1d952872e1786857481bd54fcc Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Thu, 21 Feb 2019 14:48:31 +0100 Subject: backports: support 3.1 and 3.10 tegra kernels Changes specific to vendor kernels Signed-off-by: Dominik Sliwa --- backport/backport-include/linux/hrtimer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backport/backport-include/linux/hrtimer.h (limited to 'backport/backport-include/linux/hrtimer.h') diff --git a/backport/backport-include/linux/hrtimer.h b/backport/backport-include/linux/hrtimer.h new file mode 100644 index 00000000..2c186dd1 --- /dev/null +++ b/backport/backport-include/linux/hrtimer.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_LINUX_HRTIMER_H +#define __BACKPORT_LINUX_HRTIMER_H +#include_next + +#if LINUX_VERSION_IS_LESS(3,17,0) +u64 bp_ktime_divns(const ktime_t kt, s64 div); +#define ktime_divns bp_ktime_divns +#endif /* < 3.17 */ + +#endif /* __BACKPORT_LINUX_HRTIMER_H */ -- cgit v1.2.3