aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/hp
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r--arch/ia64/hp/sim/simserial.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index 614c091b203f..fb324b345e88 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -535,8 +535,8 @@ static void rs_close(struct tty_struct *tty, struct file * filp)
535 tty_ldisc_flush(tty); 535 tty_ldisc_flush(tty);
536 info->tport.tty = NULL; 536 info->tport.tty = NULL;
537 if (info->tport.blocked_open) { 537 if (info->tport.blocked_open) {
538 if (info->close_delay) 538 if (info->tport.close_delay)
539 schedule_timeout_interruptible(info->close_delay); 539 schedule_timeout_interruptible(info->tport.close_delay);
540 wake_up_interruptible(&info->tport.open_wait); 540 wake_up_interruptible(&info->tport.open_wait);
541 } 541 }
542 info->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CLOSING); 542 info->flags &= ~(ASYNC_NORMAL_ACTIVE|ASYNC_CLOSING);
@@ -829,6 +829,7 @@ simrs_init (void)
829 */ 829 */
830 for (i = 0, state = rs_table; i < NR_PORTS; i++,state++) { 830 for (i = 0, state = rs_table; i < NR_PORTS; i++,state++) {
831 tty_port_init(&state->tport); 831 tty_port_init(&state->tport);
832 state->tport.close_delay = 0; /* XXX really 0? */
832 833
833 if (state->type == PORT_UNKNOWN) continue; 834 if (state->type == PORT_UNKNOWN) continue;
834 835