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

Timur Tabi timur at freescale.com
Wed Sep 1 23:05:40 EST 2010


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?



More information about the Linuxppc-dev mailing list