m68knommu: fix tick timer definition for coldfire
[linux-2.6/kmemtrace.git] / include / asm-m68knommu / timex.h
blob109050f3fe91e9c3324c14badf827ec25c9a59f4
1 /*
2 * linux/include/asm-m68knommu/timex.h
4 * m68knommu architecture timex specifications
5 */
6 #ifndef _ASM_M68KNOMMU_TIMEX_H
7 #define _ASM_M68KNOMMU_TIMEX_H
9 #ifdef CONFIG_COLDFIRE
10 #include <asm/coldfire.h>
11 #define CLOCK_TICK_RATE MCF_CLK
12 #else
13 #define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
14 #endif
16 typedef unsigned long cycles_t;
18 static inline cycles_t get_cycles(void)
20 return 0;
23 #endif