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/
Home Products Support Community News


[Xen-devel] [PATCH] fix mp_current_pci_id duplicate declaration

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix mp_current_pci_id duplicate declaration
From: Chris Wright <chrisw@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2006 11:09:16 -0800
Delivery-date: Thu, 16 Feb 2006 19:18:41 +0000
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/
Last mpparse cleanup leaves compile error:

mpparse.c:56: error: static declaration of ‘mp_current_pci_id’ follows
non-static declaration
/home/chrisw/hg/xen/xen-unstable/xen/include/asm/mpspec.h:26: error:
previous declaration of ‘mp_current_pci_id’ was here

Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>

diff -r 2b0078f771cc xen/include/asm-x86/mpspec.h
--- a/xen/include/asm-x86/mpspec.h      Thu Feb 16 17:37:21 2006 +0100
+++ b/xen/include/asm-x86/mpspec.h      Thu Feb 16 14:00:24 2006 -0500
@@ -23,7 +23,6 @@ extern struct mpc_config_intsrc mp_irqs 
 extern struct mpc_config_intsrc mp_irqs [MAX_IRQ_SOURCES];
 extern int mpc_default_type;
 extern int mp_bus_id_to_pci_bus [MAX_MP_BUSSES];
-extern int mp_current_pci_id;
 extern unsigned long mp_lapic_addr;
 extern int pic_mode;
 extern int using_apic_timer;

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] fix mp_current_pci_id duplicate declaration, Chris Wright <=