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 pvops] Fix a compile error, when dom0 is not selected

To: xen-devel@xxxxxxxxxxxxxxxxxxx, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH pvops] Fix a compile error, when dom0 is not selected.
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=pnTbBGFjK4iIXCpNKliGEkiEJCS3zH6R3ggJt3kD2Do=; b=FqexcFUU/3Rvz/KdSoO+CwrJXcqX8OA6iRSt/9Tl4RwFtzyap5B3VQXW8EC//4lhlr nw/NFXnO2asMfCxQScPdI0O7OnrTXbP2RcLH2V6C2jtk7Rfr0YEDjIsBfLinSUnMcbkx ZLLuh9bnX2WX7QPnWffMVoEK6DnO1i2eKPaT0=
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=
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
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH pvops] Fix a compile error, when dom0 is not selected., Frank Pan <=