[FYI/PATCH 2/4] enable control-c for IBM Full System Simulator

Utz Bacher utz.bacher at de.ibm.com
Fri Feb 17 16:37:23 EST 2006


Enable control-C for the system simulator console. This patch applies on
2.6.15 and 2.6.15.4.

Cc: Arnd Bergmann <arndb at de.ibm.com>
From: Sidney Manning <sid at us.ibm.com>
Signed-off-by: Utz Bacher <utz.bacher at de.ibm.com>

Index: linux/drivers/char/tty_io.c
===================================================================
--- linux.orig/drivers/char/tty_io.c
+++ linux/drivers/char/tty_io.c
@@ -1838,7 +1838,9 @@ retry_open:
  		if (driver) {
  			/* Don't let /dev/console block */
  			filp->f_flags |= O_NONBLOCK;
+#ifndef CONFIG_PPC_SYSTEMSIM
  			noctty = 1;
+#endif
  			goto got_driver;
  		}
  		up(&tty_sem);



More information about the Linuxppc64-dev mailing list