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

From: Cyrill Gorcunov
Date: Mon Nov 16 2009 - 16:51:03 EST


On Mon, Nov 16, 2009 at 01:46:07PM -0800, H. Peter Anvin wrote:
> On 11/16/2009 01:43 PM, Cyrill Gorcunov wrote:
> >
> > It seems we have one
> >
> > arch/x86/kernel/setup.c:125:unsigned int boot_cpu_id __read_mostly;
> >
> > -- Cyrill
>
> We probably should make it an inline function so that if other arches
> want to define it to be a constant or some other kind of special thing
> they can.
>
> -hpa
>

IA-64 and SPARC already has this variable. But boot_cpu_id() as an
inline function seem to be more natural/portable ineed.

-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/