diff options
Diffstat (limited to 'include/xen')
-rw-r--r-- | include/xen/events.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index 0c58db6ea3f4..8fa27dc7358b 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -72,8 +72,12 @@ void xen_hvm_evtchn_do_upcall(void); | |||
72 | * usual. */ | 72 | * usual. */ |
73 | int xen_allocate_pirq(unsigned gsi, int shareable, char *name); | 73 | int xen_allocate_pirq(unsigned gsi, int shareable, char *name); |
74 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); | 74 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); |
75 | |||
76 | #ifdef CONFIG_PCI_MSI | ||
75 | /* Allocate an irq and a pirq to be used with MSIs. */ | 77 | /* Allocate an irq and a pirq to be used with MSIs. */ |
76 | void xen_allocate_pirq_msi(char *name, int *irq, int *pirq); | 78 | void xen_allocate_pirq_msi(char *name, int *irq, int *pirq); |
79 | int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type); | ||
80 | #endif | ||
77 | 81 | ||
78 | /* De-allocates the above mentioned physical interrupt. */ | 82 | /* De-allocates the above mentioned physical interrupt. */ |
79 | int xen_destroy_irq(int irq); | 83 | int xen_destroy_irq(int irq); |