patch-2.3.16 linux/drivers/char/vt.c

Next file: linux/drivers/char/wdt.c
Previous file: linux/drivers/char/vino.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -1113,7 +1113,7 @@
 
 	add_wait_queue(&vt_activate_queue, &wait);
 	for (;;) {
-		current->state = TASK_INTERRUPTIBLE;
+		set_current_state(TASK_INTERRUPTIBLE);
 		retval = 0;
 		if (vt == fg_console)
 			break;

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