From: Andrew Gabbasov <hidden> Date: 2011-07-16 13:55:10
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 exported.
Signed-off-by: Andrew Gabbasov <redacted>
---
arch/powerpc/kernel/setup_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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 exported.
Signed-off-by: Andrew Gabbasov<redacted>
---
arch/powerpc/kernel/setup_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
From: Kumar Gala <hidden> Date: 2011-07-22 20:28:24
On Jul 22, 2011, at 2:11 PM, Hollis Blanchard wrote:
On 07/16/2011 06:22 AM, Andrew Gabbasov wrote:
quoted
Kernel loadable module can use hard_smp_processor_id() if building =
with SMP
quoted
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 exported.
=20
Signed-off-by: Andrew Gabbasov<redacted>
---
arch/powerpc/kernel/setup_32.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
=20