Displaying 2 results from an estimated 2 matches for "mp_current_pci_id".
2006 Feb 16
0
[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@sous-sol.org>
---
diff -r 2b0078f771cc xen/include/asm-x86/mpspec.h
--- a/xen/include/asm-x86/mpspec....
2011 Mar 09
0
[PATCH 04/11] x86: cleanup mpparse.c
...ernal data structures created from the
* MP-table.
*/
-int apic_version [MAX_APICS];
-int mp_bus_id_to_type [MAX_MP_BUSSES];
-int mp_bus_id_to_node [MAX_MP_BUSSES];
-int mp_bus_id_to_local [MAX_MP_BUSSES];
-int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
-static int mp_current_pci_id;
+unsigned char __read_mostly apic_version[MAX_APICS];
+unsigned char __read_mostly mp_bus_id_to_type[MAX_MP_BUSSES];
/* I/O APIC entries */
-struct mpc_config_ioapic mp_ioapics[MAX_IO_APICS];
+struct mpc_config_ioapic __read_mostly mp_ioapics[MAX_IO_APICS];
/* # of MP IRQ source entries */
-...