diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index dd4c76ed8ca65aa3a1906bcb5f5174b86276b3cb..08328ec025a8e6649fc46e4cf74ba390ff0ccc2b 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -250,6 +250,7 @@ asmlinkage notrace void secondary_start_kernel(void) * Log the CPU info before it is marked online and might get read. */ cpuinfo_store_cpu(); + store_cpu_topology(cpu); /* * Enable GIC and timers. @@ -258,7 +259,6 @@ asmlinkage notrace void secondary_start_kernel(void) ipi_setup(cpu); - store_cpu_topology(cpu); numa_add_cpu(cpu); /*