diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-02-18 11:43:28 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-10 14:44:35 -0500 |
commit | bb5d079aefa828c292c267ed34ed2282947fa233 (patch) | |
tree | 0af32e6cec25bb2dc7e220e3f50ef7e7d288e83f /include | |
parent | ae1635b05fae30804061406010914d85d12431ac (diff) |
xen: events: drop XEN_ALLOC_IRQ flag to xen_allocate_pirq_msi
All callers pass this flag so it is pointless.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/xen/events.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/xen/events.h b/include/xen/events.h index 00f53ddcc062..8d98861e4d92 100644 --- a/include/xen/events.h +++ b/include/xen/events.h | |||
@@ -75,10 +75,7 @@ int xen_allocate_pirq(unsigned gsi, int shareable, char *name); | |||
75 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); | 75 | int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); |
76 | 76 | ||
77 | #ifdef CONFIG_PCI_MSI | 77 | #ifdef CONFIG_PCI_MSI |
78 | /* Allocate an irq and a pirq to be used with MSIs. */ | 78 | void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc_pirq); |
79 | #define XEN_ALLOC_PIRQ (1 << 0) | ||
80 | #define XEN_ALLOC_IRQ (1 << 1) | ||
81 | void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc_mask); | ||
82 | int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type); | 79 | int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type); |
83 | #endif | 80 | #endif |
84 | 81 | ||