patch-2.3.16 linux/drivers/scsi/scsi.h

Next file: linux/drivers/scsi/sgiwd93.c
Previous file: linux/drivers/scsi/qlogicpti.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -715,7 +715,7 @@
 	DECLARE_WAITQUEUE(wait, current);	    \
 	add_wait_queue(QUEUE, &wait);		    \
 	for(;;) {			            \
-	current->state = TASK_UNINTERRUPTIBLE;	    \
+	set_current_state(TASK_UNINTERRUPTIBLE);    \
 	if (CONDITION) {		            \
             if (in_interrupt())	                    \
 	        panic("scsi: trying to call schedule() in interrupt" \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)