diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-02-18 16:43:28 +0000 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-10 14:44:35 -0500 |
commit | bb5d079aefa828c292c267ed34ed2282947fa233 (patch) | |
tree | 0af32e6cec25bb2dc7e220e3f50ef7e7d288e83f /include/xen | |
parent | ae1635b05fae30804061406010914d85d12431ac (diff) | |
download | linux-stable-bb5d079aefa828c292c267ed34ed2282947fa233.tar.gz linux-stable-bb5d079aefa828c292c267ed34ed2282947fa233.tar.bz2 linux-stable-bb5d079aefa828c292c267ed34ed2282947fa233.zip |
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/xen')
-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); int xen_map_pirq_gsi(unsigned pirq, unsigned gsi, int shareable, char *name); #ifdef CONFIG_PCI_MSI -/* Allocate an irq and a pirq to be used with MSIs. */ -#define XEN_ALLOC_PIRQ (1 << 0) -#define XEN_ALLOC_IRQ (1 << 1) -void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc_mask); +void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc_pirq); int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type); #endif |