2005-03-19 13:19:11

by Domen Puncer

[permalink] [raw]
Subject: [patch 03/10] 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 <[email protected]>
Signed-off-by: Domen Puncer <[email protected]>
---


kj-domen/kernel/timer.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/timer.c~msleep_interruptible_comment-kernel_timer kernel/timer.c
--- kj/kernel/timer.c~msleep_interruptible_comment-kernel_timer 2005-03-18 20:05:13.000000000 +0100
+++ kj-domen/kernel/timer.c 2005-03-18 20:05:13.000000000 +0100
@@ -1594,7 +1594,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)
_