summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2011-04-01 10:56:03 -0700
committerTony Luck <tony.luck@intel.com>2011-04-01 10:56:03 -0700
commit4275f4c8f7589bcac55d880529f58dac39815c95 (patch)
treeac0ca34bacf1e713a68aa78eb449b907eb776e03 /arch
parentecb78ab6f30106ab72a575a25b1cdfd1633b7ca2 (diff)
downloadblackbird-op-linux-4275f4c8f7589bcac55d880529f58dac39815c95.tar.gz
blackbird-op-linux-4275f4c8f7589bcac55d880529f58dac39815c95.zip
[IA64] fix build warning: argument 1 of 'irqd_irq_disabled'
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/sn/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c
index 7f399f9d99c7..139c018dbbf9 100644
--- a/arch/ia64/sn/kernel/irq.c
+++ b/arch/ia64/sn/kernel/irq.c
@@ -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);
}
OpenPOWER on IntegriCloud