diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2005-11-07 01:01:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 07:53:57 -0800 |
commit | 4de4ebc6d83de6d9739fa24e49ae4a305d5d1268 (patch) | |
tree | c2dbf316696ca64ca08b6227e5b9b8fec58934c9 /drivers/ieee1394 | |
parent | 01a527ec7c62efea601a39f0cd8e6a8517259014 (diff) | |
download | kernel_samsung_crespo-4de4ebc6d83de6d9739fa24e49ae4a305d5d1268.zip kernel_samsung_crespo-4de4ebc6d83de6d9739fa24e49ae4a305d5d1268.tar.gz kernel_samsung_crespo-4de4ebc6d83de6d9739fa24e49ae4a305d5d1268.tar.bz2 |
[PATCH] ieee1394: fix-up schedule_timeout() usage
Use schedule_timeout_interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Ben Collins <bcollins@debian.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/amdtp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ieee1394/amdtp.c b/drivers/ieee1394/amdtp.c index e8e2856..7589750 100644 --- a/drivers/ieee1394/amdtp.c +++ b/drivers/ieee1394/amdtp.c @@ -320,8 +320,7 @@ static void ohci1394_stop_it_ctx(struct ti_ohci *ohci, int ctx, int synchronous) if ((control & OHCI1394_CONTEXT_ACTIVE) == 0) break; - set_current_state(TASK_INTERRUPTIBLE); - schedule_timeout(1); + schedule_timeout_interruptible(1); } } } |