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 <peter.mitsis@intel.com>
This commit is contained in:
Peter Mitsis 2024-07-19 14:15:58 -07:00 committed by Anas Nashif
parent 9efb8fde61
commit 20dee1a6e9

View file

@ -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) {