<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">
From: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;

Use schedule_timeout_interruptible() instead of
set_current_state()/schedule_timeout() to reduce kernel size.

(akpm: this patch relies on other stuff in -mm, please don't apply)

Signed-off-by: Nishanth Aravamudan &lt;nacc@us.ibm.com&gt;
Cc: Ben Collins &lt;bcollins@debian.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
---

 drivers/ieee1394/amdtp.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN drivers/ieee1394/amdtp.c~ieee1394-fix-up-schedule_timeout-usage drivers/ieee1394/amdtp.c
--- 25/drivers/ieee1394/amdtp.c~ieee1394-fix-up-schedule_timeout-usage	Wed Aug 17 17:00:52 2005
+++ 25-akpm/drivers/ieee1394/amdtp.c	Wed Aug 17 17:00:52 2005
@@ -320,8 +320,7 @@ static void ohci1394_stop_it_ctx(struct 
 			if ((control &amp; OHCI1394_CONTEXT_ACTIVE) == 0)
 				break;
 
-			set_current_state(TASK_INTERRUPTIBLE);
-			schedule_timeout(1);
+			schedule_timeout_interruptible(1);
 		}
 	}
 }
_
</pre></body></html>