[PATCH 5/5] ARM: smp: Skip secondary cpu calibration to speed-up boot

Santosh Shilimkar
2011-01-24T08:51:43Z

if (!skip_secondary_calibrate) {
for_each_online_cpu(cpu)
- bogosum += per_cpu(cpu_data, cpu).loops_per_jiffy;
+ bogosums += per_cpu(cpu_data, cpu).loops_per_jiffy;

- snprintf(bogosum, sizeof(bogosum), " (%lu.%02lu BogoMIPS).\n",
- bogosum / (500000/HZ), (bogosum / (5000/HZ)) % 100);
+ snprintf(bogosum, sizeof(bogosums), " (%lu.%02lu BogoMIPS).\n",
+ bogosums / (500000/HZ), (bogosums / (5000/HZ)) % 100);
} else
bogosum[0] = '\0';