summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/timex.h')
-rw-r--r--include/asm-cris/timex.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-cris/timex.h b/include/asm-cris/timex.h
new file mode 100644
index 00000000000..375c41af47d
--- /dev/null
+++ b/include/asm-cris/timex.h
@@ -0,0 +1,24 @@
+/*
+ * linux/include/asm-cris/timex.h
+ *
+ * CRIS architecture timex specifications
+ */
+
+#ifndef _ASM_CRIS_TIMEX_H
+#define _ASM_CRIS_TIMEX_H
+
+#include <asm/arch/timex.h>
+
+/*
+ * We don't have a cycle-counter.. but we do not support SMP anyway where this is
+ * used so it does not matter.
+ */
+
+typedef unsigned int cycles_t;
+
+extern inline cycles_t get_cycles(void)
+{
+ return 0;
+}
+
+#endif