Skip to content

Commit 326b16d

Browse files
wildea01ctmarinas
authored andcommitted
arm64: delay: don't bother reporting bogomips in /proc/cpuinfo
We always use a timer-backed delay loop for arm64, so don't bother reporting a bogomips value which appears to confuse some people. Signed-off-by: Will Deacon <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
1 parent e25208f commit 326b16d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

arch/arm64/kernel/setup.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,6 @@ static int c_show(struct seq_file *m, void *v)
328328
#ifdef CONFIG_SMP
329329
seq_printf(m, "processor\t: %d\n", i);
330330
#endif
331-
seq_printf(m, "BogoMIPS\t: %lu.%02lu\n\n",
332-
loops_per_jiffy / (500000UL/HZ),
333-
loops_per_jiffy / (5000UL/HZ) % 100);
334331
}
335332

336333
/* dump out the processor features */

arch/arm64/kernel/smp.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,7 @@ asmlinkage void secondary_start_kernel(void)
223223

224224
void __init smp_cpus_done(unsigned int max_cpus)
225225
{
226-
unsigned long bogosum = loops_per_jiffy * num_online_cpus();
227-
228-
pr_info("SMP: Total of %d processors activated (%lu.%02lu BogoMIPS).\n",
229-
num_online_cpus(), bogosum / (500000/HZ),
230-
(bogosum / (5000/HZ)) % 100);
226+
pr_info("SMP: Total of %d processors activated.\n", num_online_cpus());
231227
}
232228

233229
void __init smp_prepare_boot_cpu(void)

0 commit comments

Comments
 (0)