5af3cef2fa0d425a79ea84d84fa1951830c66c24
[openwrt.git] / target / linux / x86 / patches-3.7 / 150-pit-tick-rate.patch
1 --- a/include/linux/timex.h
2 +++ b/include/linux/timex.h
3 @@ -274,7 +274,11 @@ 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 /* KERNEL */
14