]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - include/asm-powerpc/timex.h
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"
42 : "=r" (ret
) : "i" (CPU_FTR_601
));
47 #endif /* __KERNEL__ */
48 #endif /* _ASM_POWERPC_TIMEX_H */