aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorJames Cosin <jkosin@intcomgrp.com>2012-07-23 21:54:35 -0400
committerSteven Miao <realmz6@gmail.com>2013-05-09 01:03:32 -0400
commit352030530c4b6906a30a8d7dba13bfbf7fbdbdd1 (patch)
tree70bbe64e07de6e8d11c0b0cce79d9d1c882b7cc9 /arch/blackfin
parent7546dfb0b23eb695cc01e2d27101bf82077bc0a4 (diff)
blackfin: fix bootup core clock and system clock display
From: James Cosin <jkosin@intcomgrp.com> fixes the number of digits to 6 after the decimal point to regain the significant 0s in the frequency after the decimal point. Signed-off-by: Steven Miao <realmz6@gmail.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index fb96e607adcf..107b306b06f1 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -1314,7 +1314,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
1314 seq_printf(m, "(Compiled for Rev %d)", bfin_compiled_revid()); 1314 seq_printf(m, "(Compiled for Rev %d)", bfin_compiled_revid());
1315 } 1315 }
1316 1316
1317 seq_printf(m, "\ncpu MHz\t\t: %lu.%03lu/%lu.%03lu\n", 1317 seq_printf(m, "\ncpu MHz\t\t: %lu.%06lu/%lu.%06lu\n",
1318 cclk/1000000, cclk%1000000, 1318 cclk/1000000, cclk%1000000,
1319 sclk/1000000, sclk%1000000); 1319 sclk/1000000, sclk%1000000);
1320 seq_printf(m, "bogomips\t: %lu.%02lu\n" 1320 seq_printf(m, "bogomips\t: %lu.%02lu\n"