kconfig: Have the 'SMP' option depend on 'USE_SWITCH'
SMP requires the new-style '_arch_switch' to be enabled. To prevent users from creating invalid configurations where SMP is enabled while _arch_switch is not, we add a dependency from SMP to USE_SWITCH. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
4019bda695
commit
21d69579f5
1 changed files with 1 additions and 0 deletions
|
@ -662,6 +662,7 @@ config USE_SWITCH
|
|||
|
||||
config SMP
|
||||
bool "Enable symmetric multithreading support"
|
||||
depends on USE_SWITCH
|
||||
help
|
||||
When true, kernel will be built with SMP support, allowing
|
||||
more than one CPU to schedule Zephyr tasks at a time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue