Skip to contentSkip to conversation

- s390, sclp compile fix

PATCH New Bastian Blank 1 participant 1 message Oct 3, 2004 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 - s390, sclp compile fix

The attached patch makes s390 sclp driver buildable again.

Bastian

Signature · 2 lines
Where there's no emotion, there's no motive for violence.
		-- Spock, "Dagger of the Mind", stardate 2715.1
drivers/s390/char/sclp_tty.c +1 -1
diff -ur linux-2.6.9-rc3.orig/drivers/s390/char/sclp_tty.c linux-2.6.9-rc3/drivers/s390/char/sclp_tty.c
@@ -277,7 +277,7 @@
 	wake_up(&sclp_tty_waitq);
 	/* check if the tty needs a wake up call */
 	if (sclp_tty != NULL) {
-		tty_wakeup(tty);
+		tty_wakeup(sclp_tty);
 	}
 }
 
drivers/s390/char/sclp_vt220.c +1 -1
diff -ur linux-2.6.9-rc3.orig/drivers/s390/char/sclp_vt220.c linux-2.6.9-rc3/drivers/s390/char/sclp_vt220.c
@@ -139,7 +139,7 @@
 	wake_up(&sclp_vt220_waitq);
 	/* Check if the tty needs a wake up call */
 	if (sclp_vt220_tty != NULL) {
-		tty_wakeup(tty);
+		tty_wakeup(sclp_vt220_tty);
 	}
 }