|
@@ -1166,7 +1166,7 @@ static void n_tty_receive_break(struct tty_struct *tty)
|
|
}
|
|
}
|
|
put_tty_queue('\0', ldata);
|
|
put_tty_queue('\0', ldata);
|
|
if (waitqueue_active(&tty->read_wait))
|
|
if (waitqueue_active(&tty->read_wait))
|
|
- wake_up_interruptible(&tty->read_wait);
|
|
|
|
|
|
+ wake_up_interruptible_poll(&tty->read_wait, POLLIN);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -1226,7 +1226,7 @@ static void n_tty_receive_parity_error(struct tty_struct *tty, unsigned char c)
|
|
} else
|
|
} else
|
|
put_tty_queue(c, ldata);
|
|
put_tty_queue(c, ldata);
|
|
if (waitqueue_active(&tty->read_wait))
|
|
if (waitqueue_active(&tty->read_wait))
|
|
- wake_up_interruptible(&tty->read_wait);
|
|
|
|
|
|
+ wake_up_interruptible_poll(&tty->read_wait, POLLIN);
|
|
}
|
|
}
|
|
|
|
|
|
static void
|
|
static void
|
|
@@ -1378,7 +1378,7 @@ handle_newline:
|
|
ldata->canon_head = ldata->read_head;
|
|
ldata->canon_head = ldata->read_head;
|
|
kill_fasync(&tty->fasync, SIGIO, POLL_IN);
|
|
kill_fasync(&tty->fasync, SIGIO, POLL_IN);
|
|
if (waitqueue_active(&tty->read_wait))
|
|
if (waitqueue_active(&tty->read_wait))
|
|
- wake_up_interruptible(&tty->read_wait);
|
|
|
|
|
|
+ wake_up_interruptible_poll(&tty->read_wait, POLLIN);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1679,7 +1679,7 @@ static void __receive_buf(struct tty_struct *tty, const unsigned char *cp,
|
|
L_EXTPROC(tty)) {
|
|
L_EXTPROC(tty)) {
|
|
kill_fasync(&tty->fasync, SIGIO, POLL_IN);
|
|
kill_fasync(&tty->fasync, SIGIO, POLL_IN);
|
|
if (waitqueue_active(&tty->read_wait))
|
|
if (waitqueue_active(&tty->read_wait))
|
|
- wake_up_interruptible(&tty->read_wait);
|
|
|
|
|
|
+ wake_up_interruptible_poll(&tty->read_wait, POLLIN);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|