aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/include/asm/timex.h')
-rw-r--r--arch/cris/include/asm/timex.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/cris/include/asm/timex.h b/arch/cris/include/asm/timex.h
new file mode 100644
index 000000000000..980924ae7518
--- /dev/null
+++ b/arch/cris/include/asm/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 <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 long long cycles_t;
18
19static inline cycles_t get_cycles(void)
20{
21 return 0;
22}
23
24#endif