diff options
Diffstat (limited to 'kernel/arch/cris/include/asm/timex.h')
-rw-r--r-- | kernel/arch/cris/include/asm/timex.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/kernel/arch/cris/include/asm/timex.h b/kernel/arch/cris/include/asm/timex.h new file mode 100644 index 000000000..980924ae7 --- /dev/null +++ b/kernel/arch/cris/include/asm/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 <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 long long cycles_t; + +static inline cycles_t get_cycles(void) +{ + return 0; +} + +#endif |