1 #ifndef _ASM_POWERPC_TIMEX_H
2 #define _ASM_POWERPC_TIMEX_H
7 * PowerPC architecture timex specifications
10 #include <asm/cputable.h>
13 #define CLOCK_TICK_RATE 1024000 /* Underlying HZ */
15 typedef unsigned long cycles_t;
17 static inline cycles_t get_cycles(void)
25 * For the "cycle" counter we use the timebase lower half.
26 * Currently only used on SMP.
34 ".section __ftr_fixup,\"a\"\n"
44 : "=r" (ret) : "i" (CPU_FTR_601));
49 #endif /* __KERNEL__ */
50 #endif /* _ASM_POWERPC_TIMEX_H */