mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
This commit is contained in:
parent
5115a026ce
commit
9974eec2b8
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ extern void bootx_init(unsigned long r4, unsigned long phys);
|
|||
int boot_cpuid = -1;
|
||||
EXPORT_SYMBOL_GPL(boot_cpuid);
|
||||
int boot_cpuid_phys;
|
||||
EXPORT_SYMBOL_GPL(boot_cpuid_phys);
|
||||
|
||||
int smp_hw_index[NR_CPUS];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue