Skip to content
Commit 6401682d authored by Kumar Gala's avatar Kumar Gala Committed by Anas Nashif
Browse files

ztest: Fix building when CONFIG_MP_NUM_CPUS=1



We get compiler warnings on testcases that set CONFIG_MP_NUM_CPUS=1
and platforms that have CONFIG_SMP=y.  Qualify the code so its only
built if CONFIG_SMP && (CONFIG_MP_NUM_CPUS > 1).

Signed-off-by: default avatarKumar Gala <kumar.gala@intel.com>
parent e3e24b26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment