summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-12 13:44:16 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-12 13:44:16 +0000
commit7c0785c3072ee121692a47991343242ab9a0c0b3 (patch)
treeeea4037858eaace69337f4ea09ec081d02468c15 /target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch
parent33e064fbce9313ffa631c25bf27da0096d0c2f0d (diff)
[generic]: upgrade to 3.0-rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27600 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch')
-rw-r--r--target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch b/target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch
deleted file mode 100644
index 957475727..000000000
--- a/target/linux/generic/patches-3.0/991-arm_smp_twd_fix_typo.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-To get hundredths of MHz the rate needs to be divided by 10'000.
-Here is an example:
- twd_timer_rate = 123456789
- Before the patch:
- twd_timer_rate / 1000000 = 123
- (twd_timer_rate / 1000000) % 100 = 23
- Result: 123.23MHz.
- After being fixed:
- twd_timer_rate / 1000000 = 123
- (twd_timer_rate / 10000) % 100 = 45
- Result: 123.45MHz.
-
-Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
----
- arch/arm/kernel/smp_twd.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
---- a/arch/arm/kernel/smp_twd.c
-+++ b/arch/arm/kernel/smp_twd.c
-@@ -115,7 +115,7 @@ static void __cpuinit twd_calibrate_rate
- twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5);
-
- printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000,
-- (twd_timer_rate / 1000000) % 100);
-+ (twd_timer_rate / 10000) % 100);
- }
- }
-