summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-05 20:18:58 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-23 19:24:40 +0200
commit80936272a2bdb8052774e44a6d60573ca1a3075e (patch)
tree63cd28a9dc04fd9e809832b84d8d848bb2453657
parentad7c735e91646d0eba6959facdbfe5ab20fb7eb7 (diff)
backports: remove ktime_get_monotonic_offset()
This was only needed for some of the DRM drivers, remove it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/hrtimer.h11
-rw-r--r--backport/compat/compat-3.5.c14
2 files changed, 0 insertions, 25 deletions
diff --git a/backport/backport-include/linux/hrtimer.h b/backport/backport-include/linux/hrtimer.h
deleted file mode 100644
index c099dd44..00000000
--- 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 <linux/hrtimer.h>
-#include <linux/version.h>
-
-#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 7068cfb5..95f52b98 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);