2 * include/asm-ppc/timex.h
4 * ppc architecture timex specifications
7 #ifndef _ASMppc_TIMEX_H
8 #define _ASMppc_TIMEX_H
10 #include <linux/config.h>
11 #include <asm/cputable.h>
13 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
15 typedef unsigned long cycles_t
;
18 * For the "cycle" counter we use the timebase lower half.
19 * Currently only used on SMP.
22 static inline cycles_t
get_cycles(void)
29 ".section __ftr_fixup,\"a\"\n"
35 : "=r" (ret
) : "i" (CPU_FTR_601
));
40 #endif /* __KERNEL__ */