[linuxppc-release] [PATCH 1/2] powerpc/mm: Assume first cpu is boot_cpuid not 0

Kumar Gala galak at kernel.crashing.org
Wed Sep 1 23:12:44 EST 2010


On Sep 1, 2010, at 8:05 AM, Timur Tabi wrote:

> Matthew McClintock wrote:
>> +#ifndef CONFIG_SMP
>> 	stale_map[0] = alloc_bootmem(CTX_MAP_SIZE);
>> +#else
>> +	stale_map[boot_cpuid] = alloc_bootmem(CTX_MAP_SIZE);
> 
> So you're saying that even on a non-SMP kernel, boot_cpuid might not be zero?

That is correct, we have that situation on AMP kernel boots on 8572, p2020, etc.

- k


More information about the Linuxppc-dev mailing list