diff options
Diffstat (limited to 'freed-ora/current/master/debug-tty-print-dev-name.patch')
-rw-r--r-- | freed-ora/current/master/debug-tty-print-dev-name.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/freed-ora/current/master/debug-tty-print-dev-name.patch b/freed-ora/current/master/debug-tty-print-dev-name.patch deleted file mode 100644 index 5c06dd991..000000000 --- a/freed-ora/current/master/debug-tty-print-dev-name.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c -index 878f6d6..8d6867d 100644 ---- a/drivers/tty/tty_io.c -+++ b/drivers/tty/tty_io.c -@@ -1329,7 +1330,11 @@ static int tty_reopen(struct tty_struct *tty) - tty->driver = driver; /* N.B. why do this every time?? */ - - mutex_lock(&tty->ldisc_mutex); -- WARN_ON(!test_bit(TTY_LDISC, &tty->flags)); -+ if (!test_bit(TTY_LDISC, &tty->flags)) { -+ printk("%s: !test_bit(TTY_LDISC, &tty->flags) dev=%s ldisc=%s flags=%x\n", -+ __func__, tty->name, tty->ldisc ? tty->ldisc->ops ? tty->ldisc->ops->name : NULL : NULL, tty->flags); -+ WARN_ON(1); -+ } - mutex_unlock(&tty->ldisc_mutex); - - return 0; |