Commit 4783ce32 authored by Valentina Fernandez's avatar Valentina Fernandez Committed by Jassi Brar
Browse files

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: default avatarValentina Fernandez <valentina.fernandezalanis@microchip.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent c1382852
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ enum ipi_message_type {
unsigned long __cpuid_to_hartid_map[NR_CPUS] __ro_after_init = {
	[0 ... NR_CPUS-1] = INVALID_HARTID
};
EXPORT_SYMBOL_GPL(__cpuid_to_hartid_map);

void __init smp_setup_processor_id(void)
{