From 28b94d5418358c743b5d1a6ddce83ca82a0dced9 Mon Sep 17 00:00:00 2001 From: Frank Pan Date: Fri, 4 Mar 2011 03:33:26 +0000 Subject: [PATCH 3/3] Fix a compile error, when dom0 is not selected. 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