aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/timex.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-03-27 14:25:27 +0100
committerMichal Simek <monstr@monstr.eu>2009-03-27 14:25:27 +0100
commit216f03481d2fca7094f5f982a65acfc2ca14fa85 (patch)
tree34c301222aba9d02f415bd657ece933a679c35cb /arch/microblaze/include/asm/timex.h
parent6496a23add642b7c9203411bdff3ff761835a80a (diff)
microblaze_v8: delay.h, timex.h
Reviewed-by: Ingo Molnar <mingo@elte.hu> Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/timex.h')
-rw-r--r--arch/microblaze/include/asm/timex.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/timex.h b/arch/microblaze/include/asm/timex.h
new file mode 100644
index 00000000000..678525dc6d0
--- /dev/null
+++ b/arch/microblaze/include/asm/timex.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2006 Atmark Techno, Inc.
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ */
+
+#ifndef _ASM_MICROBLAZE_TIMEX_H
+#define _ASM_MICROBLAZE_TIMEX_H
+
+#define CLOCK_TICK_RATE 1000 /* Timer input freq. */
+
+typedef unsigned long cycles_t;
+
+#define get_cycles() (0)
+
+#endif /* _ASM_TIMEX_H */