]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] char/tty_io: replace schedule_timeout() with msleep_interruptible()
authorDomen Puncer <domen@coderock.org>
Sat, 25 Jun 2005 21:58:42 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:24:58 +0000 (16:24 -0700)
commitb287bda47dd8e720c61e218c47eca4fb26816e02
tree7865a5e6e99ea4acc20844a95947110a768e69b1
parentbe9d4e448fc6c85f255dee676bb0c9b397efd001
[PATCH] char/tty_io: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of schedule_timeout() in send_break() to
guarantee the task delays as expected.  Change @duration's units to
milliseconds, and modify arguments in callers appropriately.  Patch is
compile-tested.

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>
drivers/char/tty_io.c