e53dfcc97b9a4a4a32ee2e6086017b4b37d9cbdd
[15.05/openwrt.git] / target / linux / x86 / patches-3.10 / 150-pit-tick-rate.patch
1 --- a/include/linux/timex.h
2 +++ b/include/linux/timex.h
3 @@ -143,6 +143,10 @@ extern void hardpps(const struct timespe
4  int read_current_timer(unsigned long *timer_val);
5  
6  /* The clock frequency of the i8253/i8254 PIT */
7 +#ifdef CONFIG_X86_RDC321X
8 +#define PIT_TICK_RATE 1041816ul
9 +#else
10  #define PIT_TICK_RATE 1193182ul
11 +#endif
12  
13  #endif /* LINUX_TIMEX_H */