We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b9d8e commit 6194612Copy full SHA for 6194612
arch/riscv/kernel/smpboot.c
@@ -70,7 +70,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
70
}
71
72
73
-void __init setup_smp(void)
+static void __init of_parse_and_init_cpus(void)
74
{
75
struct device_node *dn;
76
unsigned long hart;
@@ -116,6 +116,11 @@ void __init setup_smp(void)
116
117
118
119
+void __init setup_smp(void)
120
+{
121
+ of_parse_and_init_cpus();
122
+}
123
+
124
static int start_secondary_cpu(int cpu, struct task_struct *tidle)
125
126
if (cpu_ops[cpu]->cpu_start)
0 commit comments