[PATCH] irq-flags: serial: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
1d6f359a2e
commit
40663cc7f1
@@ -841,7 +841,7 @@ static int sci_request_irq(struct sci_port *port)
|
||||
printk(KERN_ERR "sci: Cannot allocate irq.(IRQ=0)\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
if (request_irq(port->irqs[0], sci_mpxed_interrupt, SA_INTERRUPT,
|
||||
if (request_irq(port->irqs[0], sci_mpxed_interrupt, IRQF_DISABLED,
|
||||
"sci", port)) {
|
||||
printk(KERN_ERR "sci: Cannot allocate irq.\n");
|
||||
return -ENODEV;
|
||||
@@ -850,7 +850,7 @@ static int sci_request_irq(struct sci_port *port)
|
||||
for (i = 0; i < ARRAY_SIZE(handlers); i++) {
|
||||
if (!port->irqs[i])
|
||||
continue;
|
||||
if (request_irq(port->irqs[i], handlers[i], SA_INTERRUPT,
|
||||
if (request_irq(port->irqs[i], handlers[i], IRQF_DISABLED,
|
||||
desc[i], port)) {
|
||||
printk(KERN_ERR "sci: Cannot allocate irq.\n");
|
||||
return -ENODEV;
|
||||
|
Reference in New Issue
Block a user