arm64: delay: don't bother reporting bogomips in /proc/cpuinfo
authorWill Deacon <will.deacon@arm.com>
Fri, 30 Aug 2013 17:06:48 +0000 (18:06 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 19:00:29 +0000 (20:00 +0100)
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 <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 326b16db9f69fd0d279be873c6c00f88c0a4aad5)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/setup.c
arch/arm64/kernel/smp.c

index add6ea616843139ff81a65f26c344ed9e69fd66d..bca4c1c2052ad87af9d883bef4a4e70b2524a128 100644 (file)
@@ -328,9 +328,6 @@ static int c_show(struct seq_file *m, void *v)
 #ifdef CONFIG_SMP
                seq_printf(m, "processor\t: %d\n", i);
 #endif
-               seq_printf(m, "BogoMIPS\t: %lu.%02lu\n\n",
-                          loops_per_jiffy / (500000UL/HZ),
-                          loops_per_jiffy / (5000UL/HZ) % 100);
        }
 
        /* dump out the processor features */
index 9c93e126328cfaa04ffdaa8612a43e4d9d09a6aa..edbfe241eacbaf8a4e7e2c743e9d1ff6838e50e9 100644 (file)
@@ -223,11 +223,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
 
 void __init smp_cpus_done(unsigned int max_cpus)
 {
-       unsigned long bogosum = loops_per_jiffy * num_online_cpus();
-
-       pr_info("SMP: Total of %d processors activated (%lu.%02lu BogoMIPS).\n",
-               num_online_cpus(), bogosum / (500000/HZ),
-               (bogosum / (5000/HZ)) % 100);
+       pr_info("SMP: Total of %d processors activated.\n", num_online_cpus());
 }
 
 void __init smp_prepare_boot_cpu(void)