|
@@ -30,6 +30,7 @@
|
|
|
#include <linux/seq_file.h>
|
|
|
#include <linux/sched.h>
|
|
|
#include <linux/smp.h>
|
|
|
+#include <linux/delay.h>
|
|
|
|
|
|
/*
|
|
|
* 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)
|