On Wed, Sep 20, 2006 at 08:54:28AM -0400, James Bottomley wrote: > On Wed, 2006-09-20 at 09:00 +0200, Andi Kleen wrote: > > boot CPU == 0 should be true. You just can't assume anything about its > > APIC ID, but we decouple APIC ID and logical processor id anyways. > > No, it is not. Voyager has fixed and immutable CPU IDs dependent on CPU > position in the system. If CPU 0 is missing or logically deconfigured, > the boot CPU is definitely non zero. As APIC ID (hard_smp_processor_id()) possible, but surely not as linux logical processor id (smp_processor_id()). That always starts with 0 and goes up. -Andi