Skip to content

Commit 9757768

Browse files
oleg-nesterovIngo Molnar
authored andcommitted
sched/isolation: Make CONFIG_CPU_ISOLATION depend on CONFIG_SMP
kernel/sched/isolation.c obviously makes no sense without CONFIG_SMP, but the Kconfig entry we have right now: config CPU_ISOLATION bool "CPU isolation" depends on SMP || COMPILE_TEST allows the creation of pointless .config's which cause build failures. Reported-by: kernel test robot <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
1 parent a2cc6ff commit 9757768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ endmenu # "CPU/Task time and stats accounting"
709709

710710
config CPU_ISOLATION
711711
bool "CPU isolation"
712-
depends on SMP || COMPILE_TEST
712+
depends on SMP
713713
default y
714714
help
715715
Make sure that CPUs running critical tasks are not disturbed by

0 commit comments

Comments
 (0)