All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/acsi_slm.c: replace
@ 2005-10-23  2:53 irwan.djajadi
  2005-10-23  2:55 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim3.c: replace irwan.djajadi
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: irwan.djajadi @ 2005-10-23  2:53 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

drivers/block/acsi_slm.c: replace interruptible_sleep_on() with
wait_event_interruptible()

Signed-off-by: Irwan Djajadi <irwan.djajadi@iname.com>

diff -pruNX 2.6.14-rc5/Documentation/dontdiff 2.6.14-rc5/drivers/block/acsi_slm.c mod/drivers/block/acsi_slm.c
--- 2.6.14-rc5/drivers/block/acsi_slm.c	2005-10-22 00:06:17.000000000 -0500
+++ mod/drivers/block/acsi_slm.c	2005-10-22 15:10:39.000000000 -0500
@@ -627,7 +627,7 @@ static ssize_t slm_write( struct file *f
 
 	while( SLMState == PRINTING ||
 		   (SLMState == FILLING && SLMBufOwner != device) ) {
-		interruptible_sleep_on( &slm_wait );
+		wait_event_interruptible( slm_wait, SLMState==IDLE );
 		if (signal_pending(current))
 			return( -ERESTARTSYS );
 	}
 



[-- Attachment #2: Type: text/plain, Size: 168 bytes --]

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-10-28  3:44 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-23  2:53 [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/acsi_slm.c: replace irwan.djajadi
2005-10-23  2:55 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim3.c: replace irwan.djajadi
2005-10-23  2:56 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim_iop.c: replace irwan.djajadi
2005-10-24 20:24 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/acsi_slm.c: replace Alexey Dobriyan
2005-10-24 21:23 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim3.c: replace Alexey Dobriyan
2005-10-24 21:25 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim_iop.c: replace Alexey Dobriyan
2005-10-24 23:46 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/acsi_slm.c: replace Irwan Djajadi
2005-10-25  3:12 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim3.c: replace irwan.djajadi
2005-10-25  3:15 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/swim_iop.c: replace irwan.djajadi
2005-10-25  4:05 ` [KJ] [PATCH 2.6.14-rc5 1/1] drivers/block/acsi_slm.c: replace Nishanth Aravamudan
2005-10-26  2:44 ` Irwan Djajadi
2005-10-26  6:04 ` Nishanth Aravamudan
2005-10-27  4:22 ` Irwan Djajadi
2005-10-27 19:08 ` Nishanth Aravamudan
2005-10-28  3:44 ` Irwan Djajadi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.