From 8f3e1e8ba1b3eac905a22ad7d9acd9091cd7e962 Mon Sep 17 00:00:00 2001 From: chao an Date: Sun, 4 Aug 2024 20:12:39 +0800 Subject: [PATCH] splinlock: fix typo of sched_note_spinlock_unlock() should be sched_note_spinlock_unlock() not sched_note_spinlock_unlocked() Signed-off-by: chao an --- include/nuttx/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/spinlock.h b/include/nuttx/spinlock.h index 2e9103468b5f9..dd5216430ed93 100644 --- a/include/nuttx/spinlock.h +++ b/include/nuttx/spinlock.h @@ -156,7 +156,7 @@ void sched_note_spinlock_unlock(FAR volatile spinlock_t *spinlock); # define sched_note_spinlock_lock(spinlock) # define sched_note_spinlock_locked(spinlock) # define sched_note_spinlock_abort(spinlock) -# define sched_note_spinlock_unlocked(spinlock) +# define sched_note_spinlock_unlock(spinlock) #endif /****************************************************************************