projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpu/hotplug: Keep enough storage space if SMP=n to avoid array out of bounds scribble
[cascardo/linux.git]
/
kernel
/
cpu.c
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index
d948e44
..
7b61887
100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-1201,6
+1201,8
@@
static struct cpuhp_step cpuhp_bp_states[] = {
.teardown = takedown_cpu,
.cant_stop = true,
},
+#else
+ [CPUHP_BRINGUP_CPU] = { },
#endif
};