Message ID | 53DF58CD.9000704@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index 40f38f4..71a625b 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -320,6 +320,17 @@ void __init smp_init_cpus(void) unsigned int i, cpu = 1; bool bootcpu_valid = false; + if (!acpi_disabled) { + for_each_possible_cpu(cpu) { + if (cpu_read_ops(NULL, cpu) != 0) + continue; + + cpu_ops[cpu]->cpu_init(NULL, cpu); + } + + return; + } + while ((dn = of_find_node_by_type(dn, "cpu"))) { const u32 *cell; u64 hwid;