1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_GENERIC_TIMEX_H
3 #define __ASM_GENERIC_TIMEX_H
6 * If you have a cycle counter, return the value here.
8 typedef unsigned long cycles_t;
10 static inline cycles_t get_cycles(void)
17 * Architectures are encouraged to implement read_current_timer
18 * and define this in order to avoid the expensive delay loop
19 * calibration during boot.
21 #undef ARCH_HAS_READ_CURRENT_TIMER
23 #endif /* __ASM_GENERIC_TIMEX_H */