diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2005-09-12 23:16:17 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-09-12 23:16:17 +0200 |
commit | 074c5279ef671e4fcd2ce2960ecc9d7d9735fabd (patch) | |
tree | d0da7d1a20790fefea14c5f9cbc2f06e296050f8 /drivers/sbus/char/bpp.c | |
parent | [SPARC]: Fix dot-symbol exporting for good. (diff) | |
download | linux-074c5279ef671e4fcd2ce2960ecc9d7d9735fabd.tar.xz linux-074c5279ef671e4fcd2ce2960ecc9d7d9735fabd.zip |
[SPARC] drivers/sbus: fix-up schedule_timeout() usage
Use schedule_timeout_uninterruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char/bpp.c')
-rw-r--r-- | drivers/sbus/char/bpp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c index 87302fb14885..ccb20a6f5f36 100644 --- a/drivers/sbus/char/bpp.c +++ b/drivers/sbus/char/bpp.c @@ -295,8 +295,7 @@ static unsigned short get_pins(unsigned minor) static void snooze(unsigned long snooze_time, unsigned minor) { - set_current_state(TASK_UNINTERRUPTIBLE); - schedule_timeout(snooze_time + 1); + schedule_timeout_uninterruptible(snooze_time + 1); } static int wait_for(unsigned short set, unsigned short clr, |