mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
The Linux kernel already has the concept of IRQ domain, wherein a component can expose a set of IRQs which are managed by a particular interrupt controller chip or other subsystem. The PCI driver exposes the notion of an IRQ domain for Message-Signaled Interrupts (MSI) from PCI Express devices. This patch exposes the functions which are necessary for creating a MSI IRQ domain within a module. [ tglx: Split it into x86 and core irq parts ] Signed-off-by: Jake Oshins <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
14 lines
353 B
C
14 lines
353 B
C
#ifndef _ASM_X86_MSI_H
|
|
#define _ASM_X86_MSI_H
|
|
#include <asm/hw_irq.h>
|
|
#include <asm/irqdomain.h>
|
|
|
|
typedef struct irq_alloc_info msi_alloc_info_t;
|
|
|
|
int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
|
|
msi_alloc_info_t *arg);
|
|
|
|
void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
|
|
|
|
#endif /* _ASM_X86_MSI_H */
|