Re: [PATCH 3/6] INIT: Limit the number of per cpu calibration bootup messages

Ingo Molnar
2009-11-16T21:25:10Z

* Mike Travis <travis@sgi.com> wrote:

> --- linux.orig/init/calibrate.c
> +++ linux/init/calibrate.c
> @@ -123,23 +123,26 @@
> {
> unsigned long ticks, loopbit;
> int lps_precision = LPS_PREC;
> + bool boot_cpu = (smp_processor_id() == 0);

this code is shared by other architectures too - are you sure
smp_processor_id()==0 is a proper 'I am the boot CPU' assumption
everywhere?

Ingo