projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: Delay ELF HWCAP initialisation until all CPUs are up
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm64
/
kernel
/
smp.c
diff --git
a/arch/arm64/kernel/smp.c
b/arch/arm64/kernel/smp.c
index c1d044b52f421d844647d375002e95b59388126a..77763d9cb510029d0b15190137031381e4894b95 100644
(file)
--- a/
arch/arm64/kernel/smp.c
+++ b/
arch/arm64/kernel/smp.c
@@
-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();
}