aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-11 07:11:01 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-01-11 07:11:01 -0500
commit6426d2c2f071e0be50a22052a47b582f2561e5e0 (patch)
tree8591717e1f4fb24e6236db78fb9aa029adfd1be4
parent56949d414acd30353fdba4b64876a0a7953a7b77 (diff)
ARM: twd: fix display of twd frequency
The fraction of MHz was not being displayed correctly as the calculation was a factor of 10 out. Fix this. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/kernel/smp_twd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c
index dd790745b3ef..fd9156698ab9 100644
--- a/arch/arm/kernel/smp_twd.c
+++ b/arch/arm/kernel/smp_twd.c
@@ -114,7 +114,7 @@ static void __cpuinit twd_calibrate_rate(void)
114 twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5); 114 twd_timer_rate = (0xFFFFFFFFU - count) * (HZ / 5);
115 115
116 printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000, 116 printk("%lu.%02luMHz.\n", twd_timer_rate / 1000000,
117 (twd_timer_rate / 100000) % 100); 117 (twd_timer_rate / 1000000) % 100);
118 } 118 }
119 119
120 load = twd_timer_rate / HZ; 120 load = twd_timer_rate / HZ;