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

Santosh Shilimkar
2011-01-24T08:55:25Z

> -----Original Message-----
> From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> owner@vger.kernel.org] On Behalf Of Santosh Shilimkar
> Sent: Monday, January 24, 2011 2:21 PM
> To: linux-arm-kernel@lists.infradead.org
> Cc: linux-omap@vger.kernel.org; ccross@android.com;
> catalin.marinas@arm.com; linux@arm.linux.org.uk;
> linus.ml.walleij@gmail.com
> Subject: [PATCH 5/5] ARM: smp: Skip secondary cpu calibration to
> speed-up boot
>
> 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';
>
Ignore this change please.