[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH pvops] Fix a compile error, when dom0 is not selected.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>
  • From: Frank Pan <frankpzh@xxxxxxxxx>
  • Date: Fri, 4 Mar 2011 11:43:21 +0800
  • Cc:
  • Delivery-date: Thu, 03 Mar 2011 19:44:20 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=HAnaJdUfd6kmoRowieIPoznJexYzWSaEfmlY26dw1NQZJ8E1AupcInVat4vk+4jiPb nj130W6xD61UUfaUiK0/OmESi5K+dk0TGYDyjjoiKteW/sXzHPCX6WyxTcO3OEK8SVbd zO3AhphD9u9YUBFbkfm+Qm7Nsr2dZq/hLCz1A=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Compile error happens when:
CONFIG_PCI_MSI=y
CONFIG_PCI_XEN=y
CONFIG_XEN_DOM0_PCI=n

On pvops kernel branch:
xen/next-2.6.32
xen/stable-2.6.32.x

---
 linux-2.6-xen/arch/x86/include/asm/xen/pci.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/linux-2.6-xen/arch/x86/include/asm/xen/pci.h
b/linux-2.6-xen/arch/x86/include/asm/xen/pci.h
index 6683196..6f90399 100644
--- a/linux-2.6-xen/arch/x86/include/asm/xen/pci.h
+++ b/linux-2.6-xen/arch/x86/include/asm/xen/pci.h
@@ -4,7 +4,6 @@
 #if defined(CONFIG_PCI_MSI)
 #if defined(CONFIG_PCI_XEN)
 int xen_register_pirq(u32 gsi, int triggering);
-int xen_register_gsi(u32 gsi, int triggering, int polarity);
 int xen_create_msi_irq(struct pci_dev *dev,
                        struct msi_desc *msidesc,
                        int type);
-- 
1.7.0.4


-- 
Frank Pan

Computer Science and Technology
Tsinghua University

Attachment: 0003-Fix-a-compile-error-when-dom0-is-not-selected.patch
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.