OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8448f01
)
xen: pci: only define xen_initdom_setup_msi_irqs if CONFIG_XEN_DOM0
author
Ian Campbell
<ian.campbell@citrix.com>
Fri, 18 Feb 2011 16:43:26 +0000
(16:43 +0000)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Thu, 10 Mar 2011 19:44:33 +0000
(14:44 -0500)
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@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/pci/xen.c
patch
|
blob
|
history
diff --git
a/arch/x86/pci/xen.c
b/arch/x86/pci/xen.c
index
8634e1b
..
47c4688
100644
(file)
--- a/
arch/x86/pci/xen.c
+++ b/
arch/x86/pci/xen.c
@@
-203,6
+203,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;
@@
-224,6
+225,7
@@
error:
return ret;
}
#endif
+#endif
static int xen_pcifront_enable_irq(struct pci_dev *dev)
{