[PATCH] irq-flags: scsi: 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: James Bottomley <James.Bottomley@steeleye.com> 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
5d8c8a2e8e
commit
1d6f359a2e
@@ -767,7 +767,7 @@ megaraid_init_mbox(adapter_t *adapter)
|
||||
//
|
||||
|
||||
// request IRQ and register the interrupt service routine
|
||||
if (request_irq(adapter->irq, megaraid_isr, SA_SHIRQ, "megaraid",
|
||||
if (request_irq(adapter->irq, megaraid_isr, IRQF_SHARED, "megaraid",
|
||||
adapter)) {
|
||||
|
||||
con_log(CL_ANN, (KERN_WARNING
|
||||
|
||||
@@ -2191,7 +2191,7 @@ megasas_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
/*
|
||||
* Register IRQ
|
||||
*/
|
||||
if (request_irq(pdev->irq, megasas_isr, SA_SHIRQ, "megasas", instance)) {
|
||||
if (request_irq(pdev->irq, megasas_isr, IRQF_SHARED, "megasas", instance)) {
|
||||
printk(KERN_DEBUG "megasas: Failed to register IRQ\n");
|
||||
goto fail_irq;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user