zephyr/tests/kernel
Tom Burdick 6cef9ca595 tests: Fix coherence of timeout spin lock
Spin locks must be in coherent memory for cavs. Initially this variable
was at the compilation unit scope but warnings about it being unused
from a twister run lead me to move it to be in the ifdef scope in the
function.

Move it back into the compilation units scope and wrap it in an
ifdef to ensure its not labeled as unused.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-10-26 15:33:43 -07:00
..
common tests: kernel/common: IRQ offload test if CONFIG_IRQ_OFFLOAD=y 2022-10-08 18:33:14 +02:00
condvar/condvar_api tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
context tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
events ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
fatal tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
fifo tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
fpu_sharing tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
gen_isr_table
interrupt tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
lifo ztest: improve some tests 2022-09-09 07:05:38 -04:00
mbox tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
mem_heap ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mem_protect smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
mem_slab tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
mp
msgq ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mutex tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
obj_tracking
pending tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
pipe tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
poll tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
profiling/profiling_api
queue ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
sched smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
semaphore tests/semaphore: fix "cpu test took too long" assertion failure 2022-09-28 07:53:56 +00:00
sleep tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smp smp: Convert #if to use CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smp_boot_delay
spinlock tests: Fix coherence of timeout spin lock 2022-10-26 15:33:43 -07:00
stack/stack tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
threads smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
tickless/tickless_concept tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
timer tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
usage/thread_runtime_stats tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
workq tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
xip