]> err.no Git - linux-2.6/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)
commitb20f3ae5f0efe1812d2a1278e2127a335884d445
tree7865a5e6e99ea4acc20844a95947110a768e69b1
parentd8eddb620499dc638aeb4d5d3751974ca697ab39
[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