![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __ASM_GENERIC_TIMEX_H 0003 #define __ASM_GENERIC_TIMEX_H 0004 0005 /* 0006 * If you have a cycle counter, return the value here. 0007 */ 0008 typedef unsigned long cycles_t; 0009 #ifndef get_cycles 0010 static inline cycles_t get_cycles(void) 0011 { 0012 return 0; 0013 } 0014 #endif 0015 0016 /* 0017 * Architectures are encouraged to implement read_current_timer 0018 * and define this in order to avoid the expensive delay loop 0019 * calibration during boot. 0020 */ 0021 #undef ARCH_HAS_READ_CURRENT_TIMER 0022 0023 #endif /* __ASM_GENERIC_TIMEX_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |