]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/semaphore.c
semaphore: fix improper comment reference to mutex
[karo-tx-linux.git] / kernel / semaphore.c
index 60636a4e25c3d47217100f9a89dcb3ee96452d54..4567fc020fe343970e0cb09c53aed567531be703 100644 (file)
@@ -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