xref: /linux/arch/parisc/include/asm/timex.h (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1 /*
2  * linux/include/asm-parisc/timex.h
3  *
4  * PARISC architecture timex specifications
5  */
6 #ifndef _ASMPARISC_TIMEX_H
7 #define _ASMPARISC_TIMEX_H
8 
9 
10 #define CLOCK_TICK_RATE	1193180 /* Underlying HZ */
11 
12 typedef unsigned long cycles_t;
13 
14 static inline cycles_t get_cycles (void)
15 {
16 	return mfctl(16);
17 }
18 
19 #endif
20