aboutsummaryrefslogtreecommitdiffstats
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 000000000000..375c41af47de
--- /dev/null
+++ b/include/asm-cris/timex.h
@@ -0,0 +1,24 @@
1/*
2 * linux/include/asm-cris/timex.h
3 *
4 * CRIS architecture timex specifications
5 */
6
7#ifndef _ASM_CRIS_TIMEX_H
8#define _ASM_CRIS_TIMEX_H
9
10#include <asm/arch/timex.h>
11
12/*
13 * We don't have a cycle-counter.. but we do not support SMP anyway where this is
14 * used so it does not matter.
15 */
16
17typedef unsigned int cycles_t;
18
19extern inline cycles_t get_cycles(void)
20{
21 return 0;
22}
23
24#endif