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

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

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



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