提交 96ec3efd 编写于 作者: D Domen Puncer 提交者: Linus Torvalds

[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: NNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: NDomen Puncer <domen@coderock.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 b20f3ae5
...@@ -1597,7 +1597,7 @@ void msleep(unsigned int msecs) ...@@ -1597,7 +1597,7 @@ void msleep(unsigned int msecs)
EXPORT_SYMBOL(msleep); EXPORT_SYMBOL(msleep);
/** /**
* msleep_interruptible - sleep waiting for waitqueue interruptions * msleep_interruptible - sleep waiting for signals
* @msecs: Time in milliseconds to sleep for * @msecs: Time in milliseconds to sleep for
*/ */
unsigned long msleep_interruptible(unsigned int msecs) unsigned long msleep_interruptible(unsigned int msecs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册