Skip to contentSkip to conversation

char/i830_irq: replace

PATCH In review Nishanth Aravamudan 1 participant 1 message Sep 16, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 11/33 char/i830_irq: replace

Any comments would be appreciated.

Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected.

drivers/char/drm/i830_irq.c +1 -1
@@ -105,7 +105,7 @@ int i830_wait_irq(drm_device_t *dev, int
 		   	ret = -EBUSY;	/* Lockup?  Missed irq? */
 			break;
 		}
-	      	schedule_timeout(HZ*3);
+	      	msleep_interruptible(3000);
 	      	if (signal_pending(current)) {
 		   	ret = -EINTR;
 			break;

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors