Re: [openmcapi-dev] [PATCH] powerpc: Exporting boot_cpuid_phys

2011-07-22 Thread Hollis Blanchard
On 07/16/2011 06:22 AM, Andrew Gabbasov wrote: Kernel loadable module can use hard_smp_processor_id() if building with SMP kernel. In order to make it work for UP kernels too, boot_cpuid_phys symbol (which is what hard_smp_processor_id() macro resolves to in non-SMP configuration) must be

Re: [openmcapi-dev] [PATCH] powerpc: Exporting boot_cpuid_phys

2011-07-22 Thread Kumar Gala
On Jul 22, 2011, at 2:11 PM, Hollis Blanchard wrote: On 07/16/2011 06:22 AM, Andrew Gabbasov wrote: Kernel loadable module can use hard_smp_processor_id() if building with SMP kernel. In order to make it work for UP kernels too, boot_cpuid_phys symbol (which is what hard_smp_processor_id()