|
@@ -434,9 +434,11 @@ static int cpu_psci_cpu_kill(unsigned int cpu)
|
|
|
return 0;
|
|
|
}
|
|
|
#endif
|
|
|
+#endif
|
|
|
|
|
|
const struct cpu_operations cpu_psci_ops = {
|
|
|
.name = "psci",
|
|
|
+#ifdef CONFIG_SMP
|
|
|
.cpu_init = cpu_psci_cpu_init,
|
|
|
.cpu_prepare = cpu_psci_cpu_prepare,
|
|
|
.cpu_boot = cpu_psci_cpu_boot,
|
|
@@ -445,6 +447,6 @@ const struct cpu_operations cpu_psci_ops = {
|
|
|
.cpu_die = cpu_psci_cpu_die,
|
|
|
.cpu_kill = cpu_psci_cpu_kill,
|
|
|
#endif
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
-#endif
|