patch-2.3.16 linux/drivers/sbus/char/aurora.c

Next file: linux/drivers/sbus/char/bpp.c
Previous file: linux/drivers/sbus/char/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/sbus/char/aurora.c linux/drivers/sbus/char/aurora.c
@@ -1327,7 +1327,7 @@
 			bp->r[chip]->r[CD180_MSVR]=port->MSVR;/* auto drops DTR */
 		}
 		sti();
-		current->state = TASK_INTERRUPTIBLE;
+		set_current_state(TASK_INTERRUPTIBLE);
 		if (tty_hung_up_p(filp) ||
 		    !(port->flags & ASYNC_INITIALIZED)) {
 			if (port->flags & ASYNC_HUP_NOTIFY)

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