xref: /linux/include/asm-generic/timex.h (revision f4cdf7ca9a1fdcca413157df19753f388a5a224e)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_GENERIC_TIMEX_H
3 #define __ASM_GENERIC_TIMEX_H
4 
5 /*
6  * If you have a cycle counter, return the value here.
7  */
8 typedef unsigned long cycles_t;
9 #ifndef get_cycles
10 static inline cycles_t get_cycles(void)
11 {
12 	return 0;
13 }
14 #endif
15 
16 #endif /* __ASM_GENERIC_TIMEX_H */
17