diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base')
-rw-r--r-- | target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base b/target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base new file mode 100644 index 0000000..5af3cef --- /dev/null +++ b/target/linux/x86/patches-3.3/.svn/text-base/150-pit-tick-rate.patch.svn-base @@ -0,0 +1,14 @@ +--- a/include/linux/timex.h ++++ b/include/linux/timex.h +@@ -274,7 +274,11 @@ 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 /* KERNEL */ + |