patch-2.4.8 linux/drivers/s390/char/tubttyscl.c

Next file: linux/drivers/s390/char/tubttysiz.c
Previous file: linux/drivers/s390/char/tubtty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/drivers/s390/char/tubttyscl.c linux/drivers/s390/char/tubttyscl.c
@@ -48,7 +48,7 @@
 tty3270_scl_timeout(unsigned long data)
 {
 	tub_t *tubp = (void *)data;
-	int flags;
+	long flags;
 
 	TUBLOCK(tubp->irq, flags);
 	tubp->stat = TBS_RUNNING;
@@ -72,9 +72,9 @@
 int
 tty3270_scl_init(tub_t *tubp)
 {
-	extern int tubscrollparm;
+	extern int tubscrolltime;
 
-	tubp->tty_scrolltime = tubscrollparm;
+	tubp->tty_scrolltime = tubscrolltime;
 	if (tubp->tty_scrolltime < 0)
 		tubp->tty_scrolltime = DEFAULT_SCROLLTIME;
 	return 0;

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