arm64: Delay ELF HWCAP initialisation until all CPUs are up
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / kernel / smp.c
index c1d044b52f421d844647d375002e95b59388126a..77763d9cb510029d0b15190137031381e4894b95 100644 (file)
@@ -320,6 +320,7 @@ static void __init hyp_mode_check(void)
 void __init smp_cpus_done(unsigned int max_cpus)
 {
        pr_info("SMP: Total of %d processors activated.\n", num_online_cpus());
+       setup_cpu_features();
        hyp_mode_check();
        apply_alternatives_all();
 }