mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
On multiprocessor systems the BogoMIPS for each CPU was reported was
the value for the last CPU having calibrated it's delay loop. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
1f82bdb11b
commit
0ac354801a
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
|
||||||
(version >> 4) & 0x0f, version & 0x0f,
|
(version >> 4) & 0x0f, version & 0x0f,
|
||||||
(fp_vers >> 4) & 0x0f, fp_vers & 0x0f);
|
(fp_vers >> 4) & 0x0f, fp_vers & 0x0f);
|
||||||
seq_printf(m, "BogoMIPS\t\t: %lu.%02lu\n",
|
seq_printf(m, "BogoMIPS\t\t: %lu.%02lu\n",
|
||||||
loops_per_jiffy / (500000/HZ),
|
cpu_data[n].udelay_val / (500000/HZ),
|
||||||
(loops_per_jiffy / (5000/HZ)) % 100);
|
(cpu_data[n].udelay_val / (5000/HZ)) % 100);
|
||||||
seq_printf(m, "wait instruction\t: %s\n", cpu_wait ? "yes" : "no");
|
seq_printf(m, "wait instruction\t: %s\n", cpu_wait ? "yes" : "no");
|
||||||
seq_printf(m, "microsecond timers\t: %s\n",
|
seq_printf(m, "microsecond timers\t: %s\n",
|
||||||
cpu_has_counter ? "yes" : "no");
|
cpu_has_counter ? "yes" : "no");
|
||||||
|
|
Loading…
Reference in a new issue