diff options
author | Yong Zhang <yong.zhang0@gmail.com> | 2011-09-22 04:59:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-22 19:08:57 -0400 |
commit | 9cfb5c05fee914cc65d4706801f6bc424082b5f5 (patch) | |
tree | a71d33f1c89841b4e848546c0dedd9b880f473f7 /drivers/tty/serial/altera_uart.c | |
parent | 94abc56f4d90f289ea32a0a11d3577fcd8cb28fb (diff) |
TTY: irq: Remove IRQF_DISABLED
Since commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled],
We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/serial/altera_uart.c')
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/altera_uart.c b/drivers/tty/serial/altera_uart.c index 50bc5a5ac653..d902558ccfd2 100644 --- a/drivers/tty/serial/altera_uart.c +++ b/drivers/tty/serial/altera_uart.c | |||
@@ -315,7 +315,7 @@ static int altera_uart_startup(struct uart_port *port) | |||
315 | return 0; | 315 | return 0; |
316 | } | 316 | } |
317 | 317 | ||
318 | ret = request_irq(port->irq, altera_uart_interrupt, IRQF_DISABLED, | 318 | ret = request_irq(port->irq, altera_uart_interrupt, 0, |
319 | DRV_NAME, port); | 319 | DRV_NAME, port); |
320 | if (ret) { | 320 | if (ret) { |
321 | pr_err(DRV_NAME ": unable to attach Altera UART %d " | 321 | pr_err(DRV_NAME ": unable to attach Altera UART %d " |