powerpc: Exporting boot_cpuid_phys
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>
Sat, 16 Jul 2011 03:22:13 +0000 (03:22 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 19 Jul 2011 05:13:34 +0000 (15:13 +1000)
commit9974eec2b802b630aece96708349738e8d5a2cf6
tree84ee168c242d26b5b86472104466c9ac07efad1f
parent5115a026cebeb5537016497e78f4402e5d4ac54e
powerpc: Exporting boot_cpuid_phys

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 <andrew_gabbasov@mentor.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/setup_32.c