2005-03-03 19:38:48

by Nishanth Aravamudan

[permalink] [raw]
Subject: [PATCH] kernel/timer: fix msleep_interruptible() comment

Hi,

Please consider applying.

Description: 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]>


--- 2.6.11-kj-v/kernel/timer.c 2005-03-01 23:38:25.000000000 -0800
+++ 2.6.11-kj/kernel/timer.c 2005-03-02 15:22:06.000000000 -0800
@@ -1589,7 +1589,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)