public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] semaphore: fix comment
@ 2012-03-03 14:18 Lucia Rosculete
  2012-03-13 10:06 ` Daniel Baluta
  0 siblings, 1 reply; 3+ messages in thread
From: Lucia Rosculete @ 2012-03-03 14:18 UTC (permalink / raw)
  To: trivial; +Cc: linux-kernel, Lucia Rosculete

	 Replace "mutex" with "semaphore" in down_trylock comment

Signed-off-by: Lucia Rosculete <luciarosculete@gmail.com>
---
 kernel/semaphore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 60636a4..4567fc0 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -118,7 +118,7 @@ EXPORT_SYMBOL(down_killable);
  * down_trylock - try to acquire the semaphore, without waiting
  * @sem: the semaphore to be acquired
  *
- * Try to acquire the semaphore atomically.  Returns 0 if the mutex has
+ * Try to acquire the semaphore atomically.  Returns 0 if the semaphore has
  * been acquired successfully or 1 if it it cannot be acquired.
  *
  * NOTE: This return value is inverted from both spin_trylock and
-- 
1.7.6.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-06  0:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 14:18 [PATCH] semaphore: fix comment Lucia Rosculete
2012-03-13 10:06 ` Daniel Baluta
2012-04-06  0:16   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox