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 compilation error when CONFIG_PCI_REASSIGN is no

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Zhao, Yu" <yu.zhao@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix compilation error when CONFIG_PCI_REASSIGN is not set.
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 19:17:26 +0900
Cc:
Delivery-date: Fri, 17 Oct 2008 03:19:53 -0700
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
This patch fixes compilation error when CONFIG_PCI_REASSIGN is not set.

The patch depends on following patches I have sent.

[PATCH] dom0 linux: Fix issue on reassigning resources to PCI-PCI bridge
[PATCH] dom0 linux: remove "reassign_resources" option.

Thanks,
--
Yuji Shimada

Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>


diff -r fac93b1081da drivers/pci/pci.h
--- a/drivers/pci/pci.h Fri Oct 17 18:13:52 2008 +0900
+++ b/drivers/pci/pci.h Fri Oct 17 18:15:31 2008 +0900
@@ -104,4 +104,5 @@ extern void pci_disable_bridge_window(st
 extern void pci_disable_bridge_window(struct pci_dev *dev);
 #else
 #define is_reassigndev(dev) 0
+static inline void pci_disable_bridge_window(struct pci_dev *dev) {}
 #endif



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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix compilation error when CONFIG_PCI_REASSIGN is not set., Yuji Shimada <=