summaryrefslogtreecommitdiffstats
path: root/include/asm-um/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/timex.h')
-rw-r--r--include/asm-um/timex.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-um/timex.h b/include/asm-um/timex.h
new file mode 100644
index 0000000..0f4ada0
--- /dev/null
+++ b/include/asm-um/timex.h
@@ -0,0 +1,13 @@
+#ifndef __UM_TIMEX_H
+#define __UM_TIMEX_H
+
+typedef unsigned long cycles_t;
+
+static inline cycles_t get_cycles (void)
+{
+ return 0;
+}
+
+#define CLOCK_TICK_RATE (HZ)
+
+#endif
OpenPOWER on IntegriCloud