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 | |
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')
-rw-r--r-- | drivers/tty/serial/68328serial.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/altera_jtaguart.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/altera_uart.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/bfin_sport_uart.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/bfin_uart.c | 8 | ||||
-rw-r--r-- | drivers/tty/serial/crisv10.c | 18 | ||||
-rw-r--r-- | drivers/tty/serial/icom.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/lantiq.c | 6 | ||||
-rw-r--r-- | drivers/tty/serial/mcf.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/mpc52xx_uart.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/serial_ks8695.c | 8 | ||||
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 | ||||
-rw-r--r-- | drivers/tty/serial/sn_console.c | 2 |
13 files changed, 29 insertions, 29 deletions
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index f54923186969..a88ef9782a4f 100644 --- a/drivers/tty/serial/68328serial.c +++ b/drivers/tty/serial/68328serial.c | |||
@@ -1306,7 +1306,7 @@ rs68328_init(void) | |||
1306 | 1306 | ||
1307 | if (request_irq(uart_irqs[i], | 1307 | if (request_irq(uart_irqs[i], |
1308 | rs_interrupt, | 1308 | rs_interrupt, |
1309 | IRQF_DISABLED, | 1309 | 0, |
1310 | "M68328_UART", info)) | 1310 | "M68328_UART", info)) |
1311 | panic("Unable to attach 68328 serial interrupt\n"); | 1311 | panic("Unable to attach 68328 serial interrupt\n"); |
1312 | } | 1312 | } |
diff --git a/drivers/tty/serial/altera_jtaguart.c b/drivers/tty/serial/altera_jtaguart.c index 60e049b041a7..00a73ecb2dfb 100644 --- a/drivers/tty/serial/altera_jtaguart.c +++ b/drivers/tty/serial/altera_jtaguart.c | |||
@@ -218,7 +218,7 @@ static int altera_jtaguart_startup(struct uart_port *port) | |||
218 | unsigned long flags; | 218 | unsigned long flags; |
219 | int ret; | 219 | int ret; |
220 | 220 | ||
221 | ret = request_irq(port->irq, altera_jtaguart_interrupt, IRQF_DISABLED, | 221 | ret = request_irq(port->irq, altera_jtaguart_interrupt, 0, |
222 | DRV_NAME, port); | 222 | DRV_NAME, port); |
223 | if (ret) { | 223 | if (ret) { |
224 | pr_err(DRV_NAME ": unable to attach Altera JTAG UART %d " | 224 | pr_err(DRV_NAME ": unable to attach Altera JTAG UART %d " |
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 " |
diff --git a/drivers/tty/serial/bfin_sport_uart.c b/drivers/tty/serial/bfin_sport_uart.c index 891d194ae754..ee101c0d358f 100644 --- a/drivers/tty/serial/bfin_sport_uart.c +++ b/drivers/tty/serial/bfin_sport_uart.c | |||
@@ -294,7 +294,7 @@ static int sport_startup(struct uart_port *port) | |||
294 | if (request_irq(gpio_to_irq(up->cts_pin), | 294 | if (request_irq(gpio_to_irq(up->cts_pin), |
295 | sport_mctrl_cts_int, | 295 | sport_mctrl_cts_int, |
296 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | | 296 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | |
297 | IRQF_DISABLED, "BFIN_SPORT_UART_CTS", up)) { | 297 | 0, "BFIN_SPORT_UART_CTS", up)) { |
298 | up->cts_pin = -1; | 298 | up->cts_pin = -1; |
299 | dev_info(port->dev, "Unable to attach BlackFin UART over SPORT CTS interrupt. So, disable it.\n"); | 299 | dev_info(port->dev, "Unable to attach BlackFin UART over SPORT CTS interrupt. So, disable it.\n"); |
300 | } | 300 | } |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index c7e592df42c0..66afb98b77b5 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -667,14 +667,14 @@ static int bfin_serial_startup(struct uart_port *port) | |||
667 | kgdboc_break_enabled = 0; | 667 | kgdboc_break_enabled = 0; |
668 | else { | 668 | else { |
669 | # endif | 669 | # endif |
670 | if (request_irq(uart->rx_irq, bfin_serial_rx_int, IRQF_DISABLED, | 670 | if (request_irq(uart->rx_irq, bfin_serial_rx_int, 0, |
671 | "BFIN_UART_RX", uart)) { | 671 | "BFIN_UART_RX", uart)) { |
672 | printk(KERN_NOTICE "Unable to attach BlackFin UART RX interrupt\n"); | 672 | printk(KERN_NOTICE "Unable to attach BlackFin UART RX interrupt\n"); |
673 | return -EBUSY; | 673 | return -EBUSY; |
674 | } | 674 | } |
675 | 675 | ||
676 | if (request_irq | 676 | if (request_irq |
677 | (uart->tx_irq, bfin_serial_tx_int, IRQF_DISABLED, | 677 | (uart->tx_irq, bfin_serial_tx_int, 0, |
678 | "BFIN_UART_TX", uart)) { | 678 | "BFIN_UART_TX", uart)) { |
679 | printk(KERN_NOTICE "Unable to attach BlackFin UART TX interrupt\n"); | 679 | printk(KERN_NOTICE "Unable to attach BlackFin UART TX interrupt\n"); |
680 | free_irq(uart->rx_irq, uart); | 680 | free_irq(uart->rx_irq, uart); |
@@ -734,7 +734,7 @@ static int bfin_serial_startup(struct uart_port *port) | |||
734 | if (request_irq(gpio_to_irq(uart->cts_pin), | 734 | if (request_irq(gpio_to_irq(uart->cts_pin), |
735 | bfin_serial_mctrl_cts_int, | 735 | bfin_serial_mctrl_cts_int, |
736 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | | 736 | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING | |
737 | IRQF_DISABLED, "BFIN_UART_CTS", uart)) { | 737 | 0, "BFIN_UART_CTS", uart)) { |
738 | uart->cts_pin = -1; | 738 | uart->cts_pin = -1; |
739 | pr_info("Unable to attach BlackFin UART CTS interrupt. So, disable it.\n"); | 739 | pr_info("Unable to attach BlackFin UART CTS interrupt. So, disable it.\n"); |
740 | } | 740 | } |
@@ -745,7 +745,7 @@ static int bfin_serial_startup(struct uart_port *port) | |||
745 | #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS | 745 | #ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS |
746 | if (uart->cts_pin >= 0 && request_irq(uart->status_irq, | 746 | if (uart->cts_pin >= 0 && request_irq(uart->status_irq, |
747 | bfin_serial_mctrl_cts_int, | 747 | bfin_serial_mctrl_cts_int, |
748 | IRQF_DISABLED, "BFIN_UART_MODEM_STATUS", uart)) { | 748 | 0, "BFIN_UART_MODEM_STATUS", uart)) { |
749 | uart->cts_pin = -1; | 749 | uart->cts_pin = -1; |
750 | pr_info("Unable to attach BlackFin UART Modem Status interrupt.\n"); | 750 | pr_info("Unable to attach BlackFin UART Modem Status interrupt.\n"); |
751 | } | 751 | } |
diff --git a/drivers/tty/serial/crisv10.c b/drivers/tty/serial/crisv10.c index a931524629f9..b7435043f2fe 100644 --- a/drivers/tty/serial/crisv10.c +++ b/drivers/tty/serial/crisv10.c | |||
@@ -258,7 +258,7 @@ static struct e100_serial rs_table[] = { | |||
258 | .dma_out_enabled = 1, | 258 | .dma_out_enabled = 1, |
259 | .dma_out_nbr = SER0_TX_DMA_NBR, | 259 | .dma_out_nbr = SER0_TX_DMA_NBR, |
260 | .dma_out_irq_nbr = SER0_DMA_TX_IRQ_NBR, | 260 | .dma_out_irq_nbr = SER0_DMA_TX_IRQ_NBR, |
261 | .dma_out_irq_flags = IRQF_DISABLED, | 261 | .dma_out_irq_flags = 0, |
262 | .dma_out_irq_description = "serial 0 dma tr", | 262 | .dma_out_irq_description = "serial 0 dma tr", |
263 | #else | 263 | #else |
264 | .dma_out_enabled = 0, | 264 | .dma_out_enabled = 0, |
@@ -271,7 +271,7 @@ static struct e100_serial rs_table[] = { | |||
271 | .dma_in_enabled = 1, | 271 | .dma_in_enabled = 1, |
272 | .dma_in_nbr = SER0_RX_DMA_NBR, | 272 | .dma_in_nbr = SER0_RX_DMA_NBR, |
273 | .dma_in_irq_nbr = SER0_DMA_RX_IRQ_NBR, | 273 | .dma_in_irq_nbr = SER0_DMA_RX_IRQ_NBR, |
274 | .dma_in_irq_flags = IRQF_DISABLED, | 274 | .dma_in_irq_flags = 0, |
275 | .dma_in_irq_description = "serial 0 dma rec", | 275 | .dma_in_irq_description = "serial 0 dma rec", |
276 | #else | 276 | #else |
277 | .dma_in_enabled = 0, | 277 | .dma_in_enabled = 0, |
@@ -313,7 +313,7 @@ static struct e100_serial rs_table[] = { | |||
313 | .dma_out_enabled = 1, | 313 | .dma_out_enabled = 1, |
314 | .dma_out_nbr = SER1_TX_DMA_NBR, | 314 | .dma_out_nbr = SER1_TX_DMA_NBR, |
315 | .dma_out_irq_nbr = SER1_DMA_TX_IRQ_NBR, | 315 | .dma_out_irq_nbr = SER1_DMA_TX_IRQ_NBR, |
316 | .dma_out_irq_flags = IRQF_DISABLED, | 316 | .dma_out_irq_flags = 0, |
317 | .dma_out_irq_description = "serial 1 dma tr", | 317 | .dma_out_irq_description = "serial 1 dma tr", |
318 | #else | 318 | #else |
319 | .dma_out_enabled = 0, | 319 | .dma_out_enabled = 0, |
@@ -326,7 +326,7 @@ static struct e100_serial rs_table[] = { | |||
326 | .dma_in_enabled = 1, | 326 | .dma_in_enabled = 1, |
327 | .dma_in_nbr = SER1_RX_DMA_NBR, | 327 | .dma_in_nbr = SER1_RX_DMA_NBR, |
328 | .dma_in_irq_nbr = SER1_DMA_RX_IRQ_NBR, | 328 | .dma_in_irq_nbr = SER1_DMA_RX_IRQ_NBR, |
329 | .dma_in_irq_flags = IRQF_DISABLED, | 329 | .dma_in_irq_flags = 0, |
330 | .dma_in_irq_description = "serial 1 dma rec", | 330 | .dma_in_irq_description = "serial 1 dma rec", |
331 | #else | 331 | #else |
332 | .dma_in_enabled = 0, | 332 | .dma_in_enabled = 0, |
@@ -369,7 +369,7 @@ static struct e100_serial rs_table[] = { | |||
369 | .dma_out_enabled = 1, | 369 | .dma_out_enabled = 1, |
370 | .dma_out_nbr = SER2_TX_DMA_NBR, | 370 | .dma_out_nbr = SER2_TX_DMA_NBR, |
371 | .dma_out_irq_nbr = SER2_DMA_TX_IRQ_NBR, | 371 | .dma_out_irq_nbr = SER2_DMA_TX_IRQ_NBR, |
372 | .dma_out_irq_flags = IRQF_DISABLED, | 372 | .dma_out_irq_flags = 0, |
373 | .dma_out_irq_description = "serial 2 dma tr", | 373 | .dma_out_irq_description = "serial 2 dma tr", |
374 | #else | 374 | #else |
375 | .dma_out_enabled = 0, | 375 | .dma_out_enabled = 0, |
@@ -382,7 +382,7 @@ static struct e100_serial rs_table[] = { | |||
382 | .dma_in_enabled = 1, | 382 | .dma_in_enabled = 1, |
383 | .dma_in_nbr = SER2_RX_DMA_NBR, | 383 | .dma_in_nbr = SER2_RX_DMA_NBR, |
384 | .dma_in_irq_nbr = SER2_DMA_RX_IRQ_NBR, | 384 | .dma_in_irq_nbr = SER2_DMA_RX_IRQ_NBR, |
385 | .dma_in_irq_flags = IRQF_DISABLED, | 385 | .dma_in_irq_flags = 0, |
386 | .dma_in_irq_description = "serial 2 dma rec", | 386 | .dma_in_irq_description = "serial 2 dma rec", |
387 | #else | 387 | #else |
388 | .dma_in_enabled = 0, | 388 | .dma_in_enabled = 0, |
@@ -423,7 +423,7 @@ static struct e100_serial rs_table[] = { | |||
423 | .dma_out_enabled = 1, | 423 | .dma_out_enabled = 1, |
424 | .dma_out_nbr = SER3_TX_DMA_NBR, | 424 | .dma_out_nbr = SER3_TX_DMA_NBR, |
425 | .dma_out_irq_nbr = SER3_DMA_TX_IRQ_NBR, | 425 | .dma_out_irq_nbr = SER3_DMA_TX_IRQ_NBR, |
426 | .dma_out_irq_flags = IRQF_DISABLED, | 426 | .dma_out_irq_flags = 0, |
427 | .dma_out_irq_description = "serial 3 dma tr", | 427 | .dma_out_irq_description = "serial 3 dma tr", |
428 | #else | 428 | #else |
429 | .dma_out_enabled = 0, | 429 | .dma_out_enabled = 0, |
@@ -436,7 +436,7 @@ static struct e100_serial rs_table[] = { | |||
436 | .dma_in_enabled = 1, | 436 | .dma_in_enabled = 1, |
437 | .dma_in_nbr = SER3_RX_DMA_NBR, | 437 | .dma_in_nbr = SER3_RX_DMA_NBR, |
438 | .dma_in_irq_nbr = SER3_DMA_RX_IRQ_NBR, | 438 | .dma_in_irq_nbr = SER3_DMA_RX_IRQ_NBR, |
439 | .dma_in_irq_flags = IRQF_DISABLED, | 439 | .dma_in_irq_flags = 0, |
440 | .dma_in_irq_description = "serial 3 dma rec", | 440 | .dma_in_irq_description = "serial 3 dma rec", |
441 | #else | 441 | #else |
442 | .dma_in_enabled = 0, | 442 | .dma_in_enabled = 0, |
@@ -4558,7 +4558,7 @@ static int __init rs_init(void) | |||
4558 | /* hook the irq's for DMA channel 6 and 7, serial output and input, and some more... */ | 4558 | /* hook the irq's for DMA channel 6 and 7, serial output and input, and some more... */ |
4559 | 4559 | ||
4560 | if (request_irq(SERIAL_IRQ_NBR, ser_interrupt, | 4560 | if (request_irq(SERIAL_IRQ_NBR, ser_interrupt, |
4561 | IRQF_SHARED | IRQF_DISABLED, "serial ", driver)) | 4561 | IRQF_SHARED, "serial ", driver)) |
4562 | panic("%s: Failed to request irq8", __func__); | 4562 | panic("%s: Failed to request irq8", __func__); |
4563 | 4563 | ||
4564 | #endif | 4564 | #endif |
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index 8a869e58f6d7..d55709a7a75a 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -1554,7 +1554,7 @@ static int __devinit icom_probe(struct pci_dev *dev, | |||
1554 | 1554 | ||
1555 | /* save off irq and request irq line */ | 1555 | /* save off irq and request irq line */ |
1556 | if ( (retval = request_irq(dev->irq, icom_interrupt, | 1556 | if ( (retval = request_irq(dev->irq, icom_interrupt, |
1557 | IRQF_DISABLED | IRQF_SHARED, ICOM_DRIVER_NAME, | 1557 | IRQF_SHARED, ICOM_DRIVER_NAME, |
1558 | (void *) icom_adapter))) { | 1558 | (void *) icom_adapter))) { |
1559 | goto probe_exit2; | 1559 | goto probe_exit2; |
1560 | } | 1560 | } |
diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index 58cf279ed879..9e2d42bfa557 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c | |||
@@ -338,21 +338,21 @@ lqasc_startup(struct uart_port *port) | |||
338 | ASCCON_ROEN, port->membase + LTQ_ASC_CON); | 338 | ASCCON_ROEN, port->membase + LTQ_ASC_CON); |
339 | 339 | ||
340 | retval = request_irq(ltq_port->tx_irq, lqasc_tx_int, | 340 | retval = request_irq(ltq_port->tx_irq, lqasc_tx_int, |
341 | IRQF_DISABLED, "asc_tx", port); | 341 | 0, "asc_tx", port); |
342 | if (retval) { | 342 | if (retval) { |
343 | pr_err("failed to request lqasc_tx_int\n"); | 343 | pr_err("failed to request lqasc_tx_int\n"); |
344 | return retval; | 344 | return retval; |
345 | } | 345 | } |
346 | 346 | ||
347 | retval = request_irq(ltq_port->rx_irq, lqasc_rx_int, | 347 | retval = request_irq(ltq_port->rx_irq, lqasc_rx_int, |
348 | IRQF_DISABLED, "asc_rx", port); | 348 | 0, "asc_rx", port); |
349 | if (retval) { | 349 | if (retval) { |
350 | pr_err("failed to request lqasc_rx_int\n"); | 350 | pr_err("failed to request lqasc_rx_int\n"); |
351 | goto err1; | 351 | goto err1; |
352 | } | 352 | } |
353 | 353 | ||
354 | retval = request_irq(ltq_port->err_irq, lqasc_err_int, | 354 | retval = request_irq(ltq_port->err_irq, lqasc_err_int, |
355 | IRQF_DISABLED, "asc_err", port); | 355 | 0, "asc_err", port); |
356 | if (retval) { | 356 | if (retval) { |
357 | pr_err("failed to request lqasc_err_int\n"); | 357 | pr_err("failed to request lqasc_err_int\n"); |
358 | goto err2; | 358 | goto err2; |
diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c index 3394b7cc1722..9afca093d6ec 100644 --- a/drivers/tty/serial/mcf.c +++ b/drivers/tty/serial/mcf.c | |||
@@ -380,7 +380,7 @@ static void mcf_config_port(struct uart_port *port, int flags) | |||
380 | /* Clear mask, so no surprise interrupts. */ | 380 | /* Clear mask, so no surprise interrupts. */ |
381 | writeb(0, port->membase + MCFUART_UIMR); | 381 | writeb(0, port->membase + MCFUART_UIMR); |
382 | 382 | ||
383 | if (request_irq(port->irq, mcf_interrupt, IRQF_DISABLED, "UART", port)) | 383 | if (request_irq(port->irq, mcf_interrupt, 0, "UART", port)) |
384 | printk(KERN_ERR "MCF: unable to attach ColdFire UART %d " | 384 | printk(KERN_ERR "MCF: unable to attach ColdFire UART %d " |
385 | "interrupt vector=%d\n", port->line, port->irq); | 385 | "interrupt vector=%d\n", port->line, port->irq); |
386 | } | 386 | } |
diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c index c395520d77cf..1093a88a1fe3 100644 --- a/drivers/tty/serial/mpc52xx_uart.c +++ b/drivers/tty/serial/mpc52xx_uart.c | |||
@@ -274,7 +274,7 @@ static unsigned int mpc5200b_psc_set_baudrate(struct uart_port *port, | |||
274 | 274 | ||
275 | static void mpc52xx_psc_get_irq(struct uart_port *port, struct device_node *np) | 275 | static void mpc52xx_psc_get_irq(struct uart_port *port, struct device_node *np) |
276 | { | 276 | { |
277 | port->irqflags = IRQF_DISABLED; | 277 | port->irqflags = 0; |
278 | port->irq = irq_of_parse_and_map(np, 0); | 278 | port->irq = irq_of_parse_and_map(np, 0); |
279 | } | 279 | } |
280 | 280 | ||
diff --git a/drivers/tty/serial/serial_ks8695.c b/drivers/tty/serial/serial_ks8695.c index 5551f7afe740..7c13639c597e 100644 --- a/drivers/tty/serial/serial_ks8695.c +++ b/drivers/tty/serial/serial_ks8695.c | |||
@@ -337,19 +337,19 @@ static int ks8695uart_startup(struct uart_port *port) | |||
337 | /* | 337 | /* |
338 | * Allocate the IRQ | 338 | * Allocate the IRQ |
339 | */ | 339 | */ |
340 | retval = request_irq(KS8695_IRQ_UART_TX, ks8695uart_tx_chars, IRQF_DISABLED, "UART TX", port); | 340 | retval = request_irq(KS8695_IRQ_UART_TX, ks8695uart_tx_chars, 0, "UART TX", port); |
341 | if (retval) | 341 | if (retval) |
342 | goto err_tx; | 342 | goto err_tx; |
343 | 343 | ||
344 | retval = request_irq(KS8695_IRQ_UART_RX, ks8695uart_rx_chars, IRQF_DISABLED, "UART RX", port); | 344 | retval = request_irq(KS8695_IRQ_UART_RX, ks8695uart_rx_chars, 0, "UART RX", port); |
345 | if (retval) | 345 | if (retval) |
346 | goto err_rx; | 346 | goto err_rx; |
347 | 347 | ||
348 | retval = request_irq(KS8695_IRQ_UART_LINE_STATUS, ks8695uart_rx_chars, IRQF_DISABLED, "UART LineStatus", port); | 348 | retval = request_irq(KS8695_IRQ_UART_LINE_STATUS, ks8695uart_rx_chars, 0, "UART LineStatus", port); |
349 | if (retval) | 349 | if (retval) |
350 | goto err_ls; | 350 | goto err_ls; |
351 | 351 | ||
352 | retval = request_irq(KS8695_IRQ_UART_MODEM_STATUS, ks8695uart_modem_status, IRQF_DISABLED, "UART ModemStatus", port); | 352 | retval = request_irq(KS8695_IRQ_UART_MODEM_STATUS, ks8695uart_modem_status, 0, "UART ModemStatus", port); |
353 | if (retval) | 353 | if (retval) |
354 | goto err_ms; | 354 | goto err_ms; |
355 | 355 | ||
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 2ec57b2fb278..ca1a4c385d40 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1961,7 +1961,7 @@ static int __devinit sci_init_single(struct platform_device *dev, | |||
1961 | * For the muxed case there's nothing more to do. | 1961 | * For the muxed case there's nothing more to do. |
1962 | */ | 1962 | */ |
1963 | port->irq = p->irqs[SCIx_RXI_IRQ]; | 1963 | port->irq = p->irqs[SCIx_RXI_IRQ]; |
1964 | port->irqflags = IRQF_DISABLED; | 1964 | port->irqflags = 0; |
1965 | 1965 | ||
1966 | port->serial_in = sci_serial_in; | 1966 | port->serial_in = sci_serial_in; |
1967 | port->serial_out = sci_serial_out; | 1967 | port->serial_out = sci_serial_out; |
diff --git a/drivers/tty/serial/sn_console.c b/drivers/tty/serial/sn_console.c index 7320507b0d85..238c7df73ef5 100644 --- a/drivers/tty/serial/sn_console.c +++ b/drivers/tty/serial/sn_console.c | |||
@@ -738,7 +738,7 @@ static void __init sn_sal_switch_to_interrupts(struct sn_cons_port *port) | |||
738 | DPRINTF("sn_console: switching to interrupt driven console\n"); | 738 | DPRINTF("sn_console: switching to interrupt driven console\n"); |
739 | 739 | ||
740 | if (request_irq(SGI_UART_VECTOR, sn_sal_interrupt, | 740 | if (request_irq(SGI_UART_VECTOR, sn_sal_interrupt, |
741 | IRQF_DISABLED | IRQF_SHARED, | 741 | IRQF_SHARED, |
742 | "SAL console driver", port) >= 0) { | 742 | "SAL console driver", port) >= 0) { |
743 | spin_lock_irqsave(&port->sc_port.lock, flags); | 743 | spin_lock_irqsave(&port->sc_port.lock, flags); |
744 | port->sc_port.irq = SGI_UART_VECTOR; | 744 | port->sc_port.irq = SGI_UART_VECTOR; |