x86: add support for 3.14
[openwrt.git] / target / linux / x86 / patches-3.14 / 150-pit-tick-rate.patch
1 --- a/include/linux/timex.h
2 +++ b/include/linux/timex.h
3 @@ -158,6 +158,10 @@ int read_current_timer(unsigned long *ti
4  void ntp_notify_cmos_timer(void);
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 */