kernel: Add missing marshalling header for k_reschedule

Without this header, compiling the kernel.poll test with
-Werror=unused-function fails.

Signed-off-by: Tom Hughes <tomhughes@chromium.org>
This commit is contained in:
Tom Hughes 2025-01-06 16:47:21 -08:00 committed by Benjamin Cabé
commit 0ec126c6d1

View file

@ -1031,6 +1031,7 @@ static inline void z_vrfy_k_reschedule(void)
{ {
z_impl_k_reschedule(); z_impl_k_reschedule();
} }
#include <zephyr/syscalls/k_reschedule_mrsh.c>
#endif /* CONFIG_USERSPACE */ #endif /* CONFIG_USERSPACE */
bool k_can_yield(void) bool k_can_yield(void)