X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=arch%2Farm64%2Fkernel%2Fcpuinfo.c;h=212ae6361d8be45d6d73d197284a1ca587599342;hb=4ce01c518ebf6e3818abf5f4a9e1a1ef9d52f232;hp=706679d0a0b4227c4a7267cd85142192576d7ab3;hpb=56e0464980febfa50432a070261579415c72664e;p=linux-2.6-block.git diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 706679d0a0b4..212ae6361d8b 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -30,6 +30,7 @@ #include #include #include +#include /* * In case the boot CPU is hotpluggable, we record its initial state and @@ -112,6 +113,10 @@ static int c_show(struct seq_file *m, void *v) */ seq_printf(m, "processor\t: %d\n", i); + seq_printf(m, "BogoMIPS\t: %lu.%02lu\n", + loops_per_jiffy / (500000UL/HZ), + loops_per_jiffy / (5000UL/HZ) % 100); + /* * Dump out the common processor features in a single line. * Userspace should read the hwcaps with getauxval(AT_HWCAP)