Skip to contentSkip to conversation

fix mp_current_pci_id duplicate declaration

PATCH New Chris Wright 1 participant 1 message Feb 16, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---

xen/include/asm-x86/mpspec.h +0 -1
diff -r 2b0078f771cc xen/include/asm-x86/mpspec.h
@@ -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;