kernel/arch/parisc/include/asm/timex.h
.. .. @@ -7,14 +7,16 @@ 7 7 #ifndef _ASMPARISC_TIMEX_H 8 8 #define _ASMPARISC_TIMEX_H 9 9 10 +#include <asm/special_insns.h>10 11 11 12 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ 12 13 13 14 typedef unsigned long cycles_t; 14 15 15 -static inline cycles_t get_cycles (void)16 +static inline cycles_t get_cycles(void)16 17 { 17 18 return mfctl(16); 18 19 } 20 +#define get_cycles get_cycles19 21 20 22 #endif