summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/timex.h
blob: 30ed7ce4e4ec3d499786824b3ec44557809c4a2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * linux/include/asm-cris/timex.h
 *
 * CRIS architecture timex specifications
 */
#ifndef _ASM_CRIS_TIMEX_H
#define _ASM_CRIS_TIMEX_H

#define CLOCK_TICK_RATE 9600 /* Underlying frequency of the HZ timer */

/*
 * 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;

static inline cycles_t get_cycles(void)
{
        return 0;
}

#endif