]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] parport: fix-up schedule_timeout() usage
authorNishanth Aravamudan <nacc@us.ibm.com>
Sat, 10 Sep 2005 07:27:31 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 10 Sep 2005 17:06:38 +0000 (10:06 -0700)
commit7b4ccf8db4c1dc343ad5d6ed19240bbc3b5f945f
tree5e73fbba733a6e77f157c4022ee26b8c56b7410e
parentda4cd8dfe18ee901b880f94ca0fa79d5cc1cd0eb
[PATCH] parport: fix-up schedule_timeout() usage

Use schedule_timeout_interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.  Also use
human-time to jiffies units conversion functions rather than direct HZ
division to avoid rounding issues.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/parport/ieee1284.c
drivers/parport/ieee1284_ops.c
drivers/parport/parport_pc.c