WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix compile error when CONFIG_XEN_PCIDEV_FRONTEND=m

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix compile error when CONFIG_XEN_PCIDEV_FRONTEND=m
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Wed, 18 Nov 2009 16:02:59 -0500
Cc: james.harper@xxxxxxxxxxxxxxxxx, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, myoung@xxxxxxxxxxxxxxxxx
Delivery-date: Wed, 18 Nov 2009 13:05:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
These errors show up when that is defined:
xen-pcifront.c:261: error: redefinition of 'pci_frontend_enable_msix'
xen/pci.h:53: error: previous definition of 'pci_frontend_enable_msix' was here
xen-pcifront.c:310: error: redefinition of 'pci_frontend_disable_msix'
pci.h:56: error: previous definition of 'pci_frontend_disable_msix' was here
xen-pcifront.c:330: error: redefinition of 'pci_frontend_enable_msi'
pci.h:47: error: previous definition of 'pci_frontend_enable_msi' was here
xen-pcifront.c:354: error: redefinition of 'pci_frontend_disable_msi'
pci.h:50: error: previous definition of 'pci_frontend_disable_msi' was here
---
 drivers/pci/Kconfig |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig
index 3a858a8..4a658b1 100644
--- a/drivers/pci/Kconfig
+++ b/drivers/pci/Kconfig
@@ -52,11 +52,10 @@ config PCI_STUB
          When in doubt, say N.
 
 config XEN_PCIDEV_FRONTEND
-        tristate "Xen PCI Frontend"
+        bool "Xen PCI Frontend"
         depends on XEN && PCI && X86_64
         select HOTPLUG
        select XEN_XENBUS_FRONTEND
-       default y
         help
           The PCI device frontend driver allows the kernel to import arbitrary
           PCI devices from a PCI backend to support PCI driver domains.
-- 
1.6.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>