lkml.org 
[lkml]   [2005]   [Mar]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[patch 03/10] kernel/timer: fix msleep_interruptible() comment
From domen@coderock ...
DateSat, 19 Mar 2005 14:17:22 +0100

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>
---

 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)
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:11    [from the cache]
©2003-2008