From fcc2a1bb4bfca2cb1d0b3812aceba9f509fbfcb2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 7 Nov 2014 15:54:24 -0600 Subject: [PATCH] Fix incorrect comment --- sched/semaphore/sem_post.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sched/semaphore/sem_post.c b/sched/semaphore/sem_post.c index 4540160823a..3e3d1d868c8 100644 --- a/sched/semaphore/sem_post.c +++ b/sched/semaphore/sem_post.c @@ -94,9 +94,7 @@ * 0 (OK) or -1 (ERROR) if unsuccessful * * Assumptions: - * This function cannot be called from an interrupt handler. - * It assumes the currently executing task is the one that - * is performing the unlock. + * This function may be called from an interrupt handler. * ****************************************************************************/