Skip to content

Commit

Permalink
[IA64] fix build warning: argument 1 of 'irqd_irq_disabled'
Browse files Browse the repository at this point in the history
In commit f5e5bf0
  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 <[email protected]>
  • Loading branch information
aegl committed Apr 1, 2011
1 parent ecb78ab commit 4275f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/sn/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4275f4c

Please sign in to comment.