From 20dee1a6e945279d275e90d2875645cc56649fb2 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Fri, 19 Jul 2024 14:15:58 -0700 Subject: [PATCH] kernel: Tweak z_unpend_thread_no_timeout() API Removes the ALWAYS_INLINE attribute from the definition of the routine z_unpend_thread_no_timeout() to fix an unresolved symbol error that was occurring with some compilers. Signed-off-by: Peter Mitsis --- kernel/sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched.c b/kernel/sched.c index 2827a41fd38..94dde0e236d 100644 --- a/kernel/sched.c +++ b/kernel/sched.c @@ -623,7 +623,7 @@ static inline void unpend_thread_no_timeout(struct k_thread *thread) thread->base.pended_on = NULL; } -ALWAYS_INLINE void z_unpend_thread_no_timeout(struct k_thread *thread) +void z_unpend_thread_no_timeout(struct k_thread *thread) { K_SPINLOCK(&_sched_spinlock) { if (thread->base.pended_on != NULL) {