Skip to content

Commit

Permalink
blackfin: fix bootup core clock and system clock display
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Cosin authored and Steven Miao committed May 9, 2013
1 parent 7546dfb commit 3520305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
seq_printf(m, "(Compiled for Rev %d)", bfin_compiled_revid());
}

seq_printf(m, "\ncpu MHz\t\t: %lu.%03lu/%lu.%03lu\n",
seq_printf(m, "\ncpu MHz\t\t: %lu.%06lu/%lu.%06lu\n",
cclk/1000000, cclk%1000000,
sclk/1000000, sclk%1000000);
seq_printf(m, "bogomips\t: %lu.%02lu\n"
Expand Down

0 comments on commit 3520305

Please sign in to comment.