summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorLuis Henriques <henrix@sapo.pt>2009-04-29 22:54:51 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-29 23:20:17 +0200
commit23b94b967f118bef941369238f33c8140be46539 (patch)
tree832e34bdd5d811a53132b307a0cff30f9c339464 /kernel
parentmutex: add atomic_dec_and_mutex_lock() (diff)
downloadlinux-23b94b967f118bef941369238f33c8140be46539.tar.xz
linux-23b94b967f118bef941369238f33c8140be46539.zip
locking, rtmutex.c: Documentation cleanup
Two minor updates on functions documentation: - Updated documentation for function rt_mutex_unlock(), which contained an incorrect name - Removed extra '*' from comment in function rt_mutex_destroy() [ Impact: cleanup ] Signed-off-by: Luis Henriques <henrix@sapo.pt> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <20090429205451.GA23154@hades.domain.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtmutex.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/rtmutex.c b/kernel/rtmutex.c
index 69d9cb921ffa..013882e83497 100644
--- a/kernel/rtmutex.c
+++ b/kernel/rtmutex.c
@@ -864,9 +864,9 @@ int __sched rt_mutex_lock_interruptible(struct rt_mutex *lock,
EXPORT_SYMBOL_GPL(rt_mutex_lock_interruptible);
/**
- * rt_mutex_lock_interruptible_ktime - lock a rt_mutex interruptible
- * the timeout structure is provided
- * by the caller
+ * rt_mutex_timed_lock - lock a rt_mutex interruptible
+ * the timeout structure is provided
+ * by the caller
*
* @lock: the rt_mutex to be locked
* @timeout: timeout structure or NULL (no timeout)
@@ -913,7 +913,7 @@ void __sched rt_mutex_unlock(struct rt_mutex *lock)
}
EXPORT_SYMBOL_GPL(rt_mutex_unlock);
-/***
+/**
* rt_mutex_destroy - mark a mutex unusable
* @lock: the mutex to be destroyed
*