samples: posix: uname: Set to 1cpu as shell_thread is not SMP-safe
The sample will leverage shell_thread function, which is not SMP-safe. This will cause issues on some SMP platform. Set CONFIG_MP_MAX_NUM_CPUS to 1 to fix the issue. Signed-off-by: Jaxson Han <jaxson.han@arm.com>
This commit is contained in:
parent
13ec85954f
commit
2218e80bc2
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
CONFIG_POSIX_API=y
|
||||
CONFIG_SHELL=y
|
||||
CONFIG_SHELL_GETOPT=y
|
||||
CONFIG_MP_MAX_NUM_CPUS=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue