mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-26 21:52:20 +00:00
riscv: export __cpuid_to_hartid_map
EXPORT_SYMBOL_GPL() is missing for __cpuid_to_hartid_map array. Export this symbol to allow drivers compiled as modules to use cpuid_to_hartid_map(). Signed-off-by: Valentina Fernandez <valentina.fernandezalanis@microchip.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
This commit is contained in:
parent
c138285233
commit
4783ce32b0
@ -43,6 +43,7 @@ enum ipi_message_type {
|
|||||||
unsigned long __cpuid_to_hartid_map[NR_CPUS] __ro_after_init = {
|
unsigned long __cpuid_to_hartid_map[NR_CPUS] __ro_after_init = {
|
||||||
[0 ... NR_CPUS-1] = INVALID_HARTID
|
[0 ... NR_CPUS-1] = INVALID_HARTID
|
||||||
};
|
};
|
||||||
|
EXPORT_SYMBOL_GPL(__cpuid_to_hartid_map);
|
||||||
|
|
||||||
void __init smp_setup_processor_id(void)
|
void __init smp_setup_processor_id(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user