1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M32R_TIMEX_H
3 #define _ASM_M32R_TIMEX_H
6 * linux/include/asm-m32r/timex.h
8 * m32r architecture timex specifications
11 #define CLOCK_TICK_RATE (CONFIG_BUS_CLOCK / CONFIG_TIMER_DIVIDE)
12 #define CLOCK_TICK_FACTOR 20 /* Factor of both 1000000 and CLOCK_TICK_RATE */
16 * Standard way to access the cycle counter.
17 * Currently only used on SMP.
20 typedef unsigned long long cycles_t
;
22 static __inline__ cycles_t
get_cycles (void)
26 #endif /* __KERNEL__ */
28 #endif /* _ASM_M32R_TIMEX_H */