Re: [PATCH] x86: show cpuinfo only for online CPUs

From: Andreas Herrmann3
Date: Thu Nov 01 2007 - 14:40:12 EST


On Thu, Nov 01, 2007 at 06:35:43PM +0100, Andreas Herrmann3 wrote:
> On Thu, Nov 01, 2007 at 03:12:25PM -0200, Glauber de Oliveira Costa wrote:
> > So it could even work, but as accident. Unless I'm wrong about it, I'd
> > prefer to see an explicit attribution of cpu_index = 0 somewhere for the
> > boot cpu.
>
> Hmm, will look at this as well.

BTW, isn't it zero initialized anyway?
So, no need to explicitely set cpuinfo->cpu_index=0 for the boot cpu.


Regards,

Andreas

--
Operating | AMD Saxony Limited Liability Company & Co. KG,
System | Wilschdorfer Landstr. 101, 01109 Dresden, Germany
Research | Register Court Dresden: HRA 4896, General Partner authorized
Center | to represent: AMD Saxony LLC (Wilmington, Delaware, US)
(OSRC) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy



-
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/