zephyr/kernel/include
Mathieu Choplain 5183fc5693 kernel: assert no spinlock is held on swap when !USE_SWITCH
The do_swap() routine used when CONFIG_USE_SWITCH=y asserts that caller
thread does not hold any spinlock when CONFIG_SPIN_VALIDATE is enabled.
However, there is no similar check in place when CONFIG_USE_SWITCH=n.

Copy this assertion in the USE_SWITCH=n implementation of z_swap_irqlock().

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2025-07-24 02:47:21 -04:00
..
gen_offset.h
ipi.h
kernel_arch_interface.h arch: xtensa: Add support for lazy HiFi ctx switching 2025-07-20 12:25:17 -04:00
kernel_internal.h
kernel_offsets.h
kernel_tls.h
ksched.h kernel: move z_sched_lock inside k_sched_lock 2025-07-08 13:38:48 -05:00
kswap.h kernel: assert no spinlock is held on swap when !USE_SWITCH 2025-07-24 02:47:21 -04:00
kthread.h
mmu.h
offsets_short.h
priority_q.h kernel: priority_q: fix comparison of int of different signs 2025-05-13 10:05:52 +02:00
timeout_q.h kernel: timeout: z_add_timeout to return expiration tick 2025-04-15 19:09:33 +02:00
wait_q.h