Re: the creation of boot_cpu_init() is wrong and accessing uninitialised data

From: Eric W. Biederman
Date: Sun Jul 02 2006 - 11:05:19 EST


James Bottomley <James.Bottomley@xxxxxxxxxxxx> writes:

> On Wed, 2006-06-28 at 19:10 -0400, James Bottomley wrote:
>> I'm still compiling, so might have the results later this evening.
>
> Actually, ran into a 53c700 driver problem, but I can now verify that
> this patch works on voyager when booting with a non-zero CPU.

What is the point of using a non-zero logical cpu id?
I don't care about the apic id or the equivalent.

There are cases like machine_shutdown where we care about who
the boot cpu is so we can reboot on that cpu. As far as I know
the kernel has not abstraction to describe the boot cpu
except for giving it logical cpu id 0. Has an abstraction
been added that I'm not aware of?

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