summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/hp/sim/simserial.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index 797e89a6c4eb..60c9093bbeae 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -702,15 +702,8 @@ startup(struct async_struct *info)
702 handler = rs_interrupt_single; 702 handler = rs_interrupt_single;
703 703
704 retval = request_irq(state->irq, handler, IRQ_T(info), "simserial", NULL); 704 retval = request_irq(state->irq, handler, IRQ_T(info), "simserial", NULL);
705 if (retval) { 705 if (retval)
706 if (capable(CAP_SYS_ADMIN)) {
707 if (info->tty)
708 set_bit(TTY_IO_ERROR,
709 &info->tty->flags);
710 retval = 0;
711 }
712 goto errout; 706 goto errout;
713 }
714 } 707 }
715 708
716 /* 709 /*