|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 01/12] xen: pci: only define xen_initdom_setup_msi_ir
Fixes:
CC arch/x86/pci/xen.o
arch/x86/pci/xen.c:183: warning: 'xen_initdom_setup_msi_irqs' defined but not
used
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
arch/x86/pci/xen.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/x86/pci/xen.c b/arch/x86/pci/xen.c
index 65b2b16..8e80ab3 100644
--- a/arch/x86/pci/xen.c
+++ b/arch/x86/pci/xen.c
@@ -200,6 +200,7 @@ static void xen_teardown_msi_irq(unsigned int irq)
xen_destroy_irq(irq);
}
+#ifdef CONFIG_XEN_DOM0
static int xen_initdom_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
{
int irq, ret;
@@ -221,6 +222,7 @@ error:
return ret;
}
#endif
+#endif
static int xen_pcifront_enable_irq(struct pci_dev *dev)
{
--
1.5.6.5
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] [PATCH 2/3] xen-pcifront: Sanity check the MSI/MSI-X values, (continued)
- Re: [Xen-devel] [PATCH 1/3] pci/xen: Use xen_allocate_pirq_msi, Konrad Rzeszutek Wilk
- [PATCH 0/12] xen: MSI managment cleanups (Was: Re: [Xen-devel] [PATCH 1/3] pci/xen: Use xen_allocate_pirq_msi), Ian Campbell
- [Xen-devel] [PATCH 01/12] xen: pci: only define xen_initdom_setup_msi_irqs if CONFIG_XEN_DOM0,
Ian Campbell <=
- [Xen-devel] [PATCH 02/12] xen: events: do not leak IRQ from xen_allocate_pirq_msi when no pirq available., Ian Campbell
- [Xen-devel] Re: [PATCH 02/12] xen: events: do not leak IRQ from xen_allocate_pirq_msi when no pirq available., Stefano Stabellini
- [Xen-devel] Re: [PATCH 02/12] xen: events: do not leak IRQ from xen_allocate_pirq_msi when no pirq available., Ian Campbell
- [Xen-devel] [PATCH 03/12] xen: events: drop XEN_ALLOC_IRQ flag to xen_allocate_pirq_msi, Ian Campbell
- [Xen-devel] [PATCH 04/12] xen: events: return irq from xen_allocate_pirq_msi, Ian Campbell
- [Xen-devel] [PATCH 05/12] xen: pci: collapse apic_register_gsi_xen_hvm and xen_hvm_register_pirq, Ian Campbell
- [Xen-devel] [PATCH 06/12] xen: events: assume PHYSDEVOP_get_free_pirq exists, Ian Campbell
- [Xen-devel] [PATCH 07/12] xen: events: separate MSI PIRQ allocation from PIRQ binding to IRQ, Ian Campbell
- [Xen-devel] Re: [PATCH 07/12] xen: events: separate MSI PIRQ allocation from PIRQ binding to IRQ, Stefano Stabellini
- [Xen-devel] Re: [PATCH 07/12] xen: events: separate MSI PIRQ allocation from PIRQ binding to IRQ, Ian Campbell
|
|
|
|
|