commit | 9974eec2b802b630aece96708349738e8d5a2cf6 | [log] [tgz] |
---|---|---|
author | Andrew Gabbasov <andrew_gabbasov@mentor.com> | Sat Jul 16 03:22:13 2011 +0000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jul 19 15:13:34 2011 +1000 |
tree | 84ee168c242d26b5b86472104466c9ac07efad1f | |
parent | 5115a026cebeb5537016497e78f4402e5d4ac54e [diff] |
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>