summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDomen Puncer <domen@coderock.org>2005-06-25 23:58:43 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-26 01:24:58 +0200
commit96ec3efdcbaea4f403f2a5f1204edbf903a01961 (patch)
treee76ac60d389be7e7ed40e5bf2cd63f46b84b7e87 /kernel
parent[PATCH] char/tty_io: replace schedule_timeout() with msleep_interruptible() (diff)
downloadlinux-96ec3efdcbaea4f403f2a5f1204edbf903a01961.tar.xz
linux-96ec3efdcbaea4f403f2a5f1204edbf903a01961.zip
[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>
Diffstat (limited to 'kernel')
-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)