summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-06-26 01:58:43 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 03:24:58 +0400
commit96ec3efdcbaea4f403f2a5f1204edbf903a01961 (patch)
treee76ac60d389be7e7ed40e5bf2cd63f46b84b7e87
parentb20f3ae5f0efe1812d2a1278e2127a335884d445 (diff)
downloadlinux-96ec3efdcbaea4f403f2a5f1204edbf903a01961.tar.xz
[PATCH] kernel/timer: fix msleep_interruptible() comment
The comment for msleep_interruptible() is wrong, as it will ignore wait-queue events, but will wake up early for signals. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 51ff917c9590..f2a11887a726 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1597,7 +1597,7 @@ void msleep(unsigned int msecs)
EXPORT_SYMBOL(msleep);
/**
- * msleep_interruptible - sleep waiting for waitqueue interruptions
+ * msleep_interruptible - sleep waiting for signals
* @msecs: Time in milliseconds to sleep for
*/
unsigned long msleep_interruptible(unsigned int msecs)