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

2010-09-01 Thread Kumar Gala
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

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

2010-09-01 Thread Timur Tabi
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? ___ L