|
@@ -226,6 +226,8 @@ out:
|
|
|
return -ENOMEM;
|
|
|
}
|
|
|
|
|
|
+#ifdef CONFIG_HOTPLUG_CPU
|
|
|
+
|
|
|
static void pcpu_free_lowcore(struct pcpu *pcpu)
|
|
|
{
|
|
|
pcpu_sigp_retry(pcpu, sigp_set_prefix, 0);
|
|
@@ -247,6 +249,8 @@ static void pcpu_free_lowcore(struct pcpu *pcpu)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+#endif /* CONFIG_HOTPLUG_CPU */
|
|
|
+
|
|
|
static void pcpu_prepare_secondary(struct pcpu *pcpu, int cpu)
|
|
|
{
|
|
|
struct _lowcore *lc = pcpu->lowcore;
|