From: Hauke Mehrtens Date: Sat, 5 Oct 2013 18:18:58 +0000 (+0200) Subject: backports: remove ktime_get_monotonic_offset() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80936272a2bdb8052774e44a6d60573ca1a3075e;p=openwrt%2Fstaging%2Fblogic.git backports: remove ktime_get_monotonic_offset() This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens --- diff --git a/backport/backport-include/linux/hrtimer.h b/backport/backport-include/linux/hrtimer.h deleted file mode 100644 index c099dd44cb61..000000000000 --- a/backport/backport-include/linux/hrtimer.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef __BACKPORT_LINUX_HRTIMER_H -#define __BACKPORT_LINUX_HRTIMER_H -#include_next -#include - -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0) -#define ktime_get_monotonic_offset LINUX_BACKPORT(ktime_get_monotonic_offset) -extern ktime_t ktime_get_monotonic_offset(void); -#endif - -#endif /* __BACKPORT_LINUX_HRTIMER_H */ diff --git a/backport/compat/compat-3.5.c b/backport/compat/compat-3.5.c index 7068cfb5a07b..95f52b988897 100644 --- a/backport/compat/compat-3.5.c +++ b/backport/compat/compat-3.5.c @@ -64,17 +64,3 @@ int overflowgid = DEFAULT_OVERFLOWGID; EXPORT_SYMBOL_GPL(overflowuid); EXPORT_SYMBOL_GPL(overflowgid); #endif - -/* - * We can't access the timekeeper static variable - * on older kernels so we're shit out of luck and - * have to rely on time that might jump. Upgrade - * if you want timestamps that don't jump, this - * important for DRM vblank and page flip event - * timestamps. - */ -ktime_t ktime_get_monotonic_offset(void) -{ - return ktime_get(); -} -EXPORT_SYMBOL_GPL(ktime_get_monotonic_offset);