sched/semaphore/spinlock.c: Fix build failure caused by a missing semicolon.

This commit is contained in:
Gregory Nutt
2019-09-16 07:44:01 -06:00
parent ba436b9434
commit 63c9c0c935
+3 -3
View File
@@ -307,7 +307,7 @@ void spin_lockr(FAR struct spinlock_s *lock)
} }
#ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS
/* Notify that we have thespinlock */ /* Notify that we have the spinlock */
sched_note_spinlocked(this_task(), &lock->sp_lock); sched_note_spinlocked(this_task(), &lock->sp_lock);
#endif #endif
@@ -338,11 +338,11 @@ void spin_lockr(FAR struct spinlock_s *lock)
while (up_testset(&lock->sp_lock) == SP_LOCKED) while (up_testset(&lock->sp_lock) == SP_LOCKED)
{ {
sched_yield(); sched_yield();
SP_DSB() SP_DSB();
} }
#ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS
/* Notify that we have thespinlock */ /* Notify that we have the spinlock */
sched_note_spinlocked(this_task(), &lock->sp_lock); sched_note_spinlocked(this_task(), &lock->sp_lock);
#endif #endif