summaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeping32.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/linux/timekeeping32.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/timekeeping32.h b/include/linux/timekeeping32.h
new file mode 100644
index 000000000..266017fc9
--- /dev/null
+++ b/include/linux/timekeeping32.h
@@ -0,0 +1,14 @@
+#ifndef _LINUX_TIMEKEEPING32_H
+#define _LINUX_TIMEKEEPING32_H
+/*
+ * These interfaces are all based on the old timespec type
+ * and should get replaced with the timespec64 based versions
+ * over time so we can remove the file here.
+ */
+
+static inline unsigned long get_seconds(void)
+{
+ return ktime_get_real_seconds();
+}
+
+#endif