[IA64] fix build warning: argument 1 of 'irqd_irq_disabled'
authorTony Luck <tony.luck@intel.com>
Fri, 1 Apr 2011 17:56:03 +0000 (10:56 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 1 Apr 2011 17:56:03 +0000 (10:56 -0700)
In commit f5e5bf088bd3d30990efb7429aaf9f1e5134ffd6
  ia64: Use irqd_irq_disabled() instead of desc->status access

Thomas forgot to convert from irq to *irq_data.

Add a call to irq_get_irq_data() to fix that.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/irq.c

index 7f399f9d99c7960edf0b703c3c9d351d79a6f66a..139c018dbbf94814768ba9f18e38742d036ac8da 100644 (file)
@@ -412,7 +412,7 @@ sn_call_force_intr_provider(struct sn_irq_info *sn_irq_info)
        pci_provider = sn_pci_provider[sn_irq_info->irq_bridge_type];
 
        /* Don't force an interrupt if the irq has been disabled */
-       if (!irqd_irq_disabled(sn_irq_info->irq_irq) &&
+       if (!irqd_irq_disabled(irq_get_irq_data(sn_irq_info->irq_irq)) &&
            pci_provider && pci_provider->force_interrupt)
                (*pci_provider->force_interrupt)(sn_irq_info);
 }