diff options
Diffstat (limited to 'include/asm-cris/timex.h')
-rw-r--r-- | include/asm-cris/timex.h | 24 |
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 0000000..375c41a --- /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 |