aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base
diff options
context:
space:
mode:
authorJames <>2013-03-17 12:16:37 +0000
committerJames <>2013-03-17 12:16:37 +0000
commit27b76ab0671089c47506615a796a261e993896a7 (patch)
tree61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base
downloadtrunk-36060-master.tar.gz
trunk-36060-master.tar.bz2
trunk-36060-master.zip
Diffstat (limited to 'target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base')
-rw-r--r--target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base b/target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base
new file mode 100644
index 0000000..673453c
--- /dev/null
+++ b/target/linux/x86/patches-3.7/.svn/text-base/150-pit-tick-rate.patch.svn-base
@@ -0,0 +1,13 @@
+--- a/include/linux/timex.h
++++ b/include/linux/timex.h
+@@ -150,6 +150,10 @@ extern void hardpps(const struct timespe
+ int read_current_timer(unsigned long *timer_val);
+
+ /* The clock frequency of the i8253/i8254 PIT */
++#ifdef CONFIG_X86_RDC321X
++#define PIT_TICK_RATE 1041816ul
++#else
+ #define PIT_TICK_RATE 1193182ul
++#endif
+
+ #endif /* LINUX_TIMEX_H */