aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/events.h
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-02-18 16:43:29 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-10 14:44:37 -0500
commit4b41df7f6e0b5684378d9155773c42a4577e8582 (patch)
tree9ef8bf6d42bb2c04d2a7a9ef3f0c7dd1f9b4861d /include/xen/events.h
parentxen: events: drop XEN_ALLOC_IRQ flag to xen_allocate_pirq_msi (diff)
downloadlinux-dev-4b41df7f6e0b5684378d9155773c42a4577e8582.tar.xz
linux-dev-4b41df7f6e0b5684378d9155773c42a4577e8582.zip
xen: events: return irq from xen_allocate_pirq_msi
consistent with other similar functions. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/events.h')
-rw-r--r--include/xen/events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xen/events.h b/include/xen/events.h
index 8d98861e4d92..f70536af921c 100644
--- a/include/xen/events.h
+++ b/include/xen/events.h
@@ -75,7 +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
-void xen_allocate_pirq_msi(char *name, int *irq, int *pirq, int alloc_pirq);
+int xen_allocate_pirq_msi(char *name, int *pirq, int alloc_pirq);
int xen_create_msi_irq(struct pci_dev *dev, struct msi_desc *msidesc, int type);
#endif