cpu/hotplug: Keep enough storage space if SMP=n to avoid array out of bounds scribble
[cascardo/linux.git] / kernel / cpu.c
index d948e44..7b61887 100644 (file)
@@ -1201,6 +1201,8 @@ static struct cpuhp_step cpuhp_bp_states[] = {
                .teardown               = takedown_cpu,
                .cant_stop              = true,
        },
+#else
+       [CPUHP_BRINGUP_CPU] = { },
 #endif
 };