From 63c9c0c93579b1122614a1f4b193e8a9e8265d30 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 16 Sep 2019 07:44:01 -0600 Subject: [PATCH] sched/semaphore/spinlock.c: Fix build failure caused by a missing semicolon. --- sched/semaphore/spinlock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sched/semaphore/spinlock.c b/sched/semaphore/spinlock.c index 79782f4f2da..292a322a343 100644 --- a/sched/semaphore/spinlock.c +++ b/sched/semaphore/spinlock.c @@ -307,7 +307,7 @@ void spin_lockr(FAR struct spinlock_s *lock) } #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS - /* Notify that we have thespinlock */ + /* Notify that we have the spinlock */ sched_note_spinlocked(this_task(), &lock->sp_lock); #endif @@ -338,11 +338,11 @@ void spin_lockr(FAR struct spinlock_s *lock) while (up_testset(&lock->sp_lock) == SP_LOCKED) { sched_yield(); - SP_DSB() + SP_DSB(); } #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS - /* Notify that we have thespinlock */ + /* Notify that we have the spinlock */ sched_note_spinlocked(this_task(), &lock->sp_lock); #endif