diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2015-11-23 08:26:06 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2015-12-16 15:29:44 +0000 |
commit | 2145ac9310b60c1c11294b7bea10fe154009be1d (patch) | |
tree | 8f38f1ae3609004675fbfd55a721d3969f67e670 /include/linux/msi.h | |
parent | b2eba39bcab9d60a6c3b80c7fc2f3dacb77eeaae (diff) | |
download | linux-2145ac9310b60c1c11294b7bea10fe154009be1d.tar.gz linux-2145ac9310b60c1c11294b7bea10fe154009be1d.tar.bz2 linux-2145ac9310b60c1c11294b7bea10fe154009be1d.zip |
genirq/msi: Add msi_domain_populate_irqs
To be able to allocate interrupts from the MSI layer down,
add a new msi_domain_populate_irqs entry point.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r-- | include/linux/msi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h index 1c0bb2c0b211..cee102b1916d 100644 --- a/include/linux/msi.h +++ b/include/linux/msi.h @@ -283,6 +283,8 @@ void platform_msi_domain_free_irqs(struct device *dev); /* When an MSI domain is used as an intermediate domain */ int msi_domain_prepare_irqs(struct irq_domain *domain, struct device *dev, int nvec, msi_alloc_info_t *args); +int msi_domain_populate_irqs(struct irq_domain *domain, struct device *dev, + int virq, int nvec, msi_alloc_info_t *args); #endif /* CONFIG_GENERIC_MSI_IRQ_DOMAIN */ #ifdef CONFIG_PCI_MSI_IRQ_DOMAIN |