1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * linux/include/asm-parisc/timex.h 4 * 5 * PARISC architecture timex specifications 6 */ 7 #ifndef _ASMPARISC_TIMEX_H 8 #define _ASMPARISC_TIMEX_H 9 10 #include <asm/special_insns.h> 11 12 typedef unsigned long cycles_t; 13 14 static inline cycles_t get_cycles(void) 15 { 16 return mfctl(16); 17 } 18 #define get_cycles get_cycles 19 20 #endif 21