patch-2.3.99-pre1 linux/drivers/char/tty_io.c

Next file: linux/drivers/char/videodev.c
Previous file: linux/drivers/char/sxboards.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/drivers/char/tty_io.c linux/drivers/char/tty_io.c
@@ -1979,6 +1979,7 @@
 	tty->tq_hangup.routine = do_tty_hangup;
 	tty->tq_hangup.data = tty;
 	sema_init(&tty->atomic_read, 1);
+	spin_lock_init(&tty->read_lock);
 	INIT_LIST_HEAD(&tty->tty_files);
 }
 
@@ -2318,6 +2319,9 @@
 #endif
 #ifdef CONFIG_SX
 	sx_init();
+#endif
+#ifdef CONFIG_RIO
+	rio_init();
 #endif
 #ifdef CONFIG_8xx
         rs_8xx_init();

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