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>
This commit is contained in:
committed by
Konrad Rzeszutek Wilk
parent
ae1635b05f
commit
bb5d079aef
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user