summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/timex.h')
-rw-r--r--include/asm-sparc/timex.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-sparc/timex.h b/include/asm-sparc/timex.h
new file mode 100644
index 0000000..71b45c9
--- /dev/null
+++ b/include/asm-sparc/timex.h
@@ -0,0 +1,15 @@
+/*
+ * linux/include/asm-sparc/timex.h
+ *
+ * sparc architecture timex specifications
+ */
+#ifndef _ASMsparc_TIMEX_H
+#define _ASMsparc_TIMEX_H
+
+#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
+
+/* XXX Maybe do something better at some point... -DaveM */
+typedef unsigned long cycles_t;
+#define get_cycles() (0)
+
+#endif
OpenPOWER on IntegriCloud