mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
x86: move quad_local_to_mp_bus_id to numa.c
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
5d570cbbf2
commit
6079d2d5d1
@ -45,7 +45,6 @@ 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 quad_local_to_mp_bus_id [NR_CPUS/4][4];
|
||||
int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 };
|
||||
static int mp_current_pci_id;
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
|
||||
#define BUS2QUAD(global) (mp_bus_id_to_node[global])
|
||||
#define BUS2LOCAL(global) (mp_bus_id_to_local[global])
|
||||
|
||||
int quad_local_to_mp_bus_id [NR_CPUS/4][4];
|
||||
#define QUADLOCAL2BUS(quad,local) (quad_local_to_mp_bus_id[quad][local])
|
||||
|
||||
extern void *xquad_portio; /* Where the IO area was mapped */
|
||||
|
@ -12,6 +12,8 @@ static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
|
||||
printk("Bus #%d is %s (node %d)\n", m->mpc_busid, name, quad);
|
||||
}
|
||||
|
||||
extern int quad_local_to_mp_bus_id[NR_CPUS/4][4];
|
||||
|
||||
static inline void mpc_oem_pci_bus(struct mpc_config_bus *m,
|
||||
struct mpc_config_translation *translation)
|
||||
{
|
||||
|
@ -9,7 +9,6 @@
|
||||
extern int mp_bus_id_to_type[MAX_MP_BUSSES];
|
||||
extern int mp_bus_id_to_node[MAX_MP_BUSSES];
|
||||
extern int mp_bus_id_to_local[MAX_MP_BUSSES];
|
||||
extern int quad_local_to_mp_bus_id[NR_CPUS/4][4];
|
||||
|
||||
extern unsigned int def_to_bigsmp;
|
||||
extern int apic_version[MAX_APICS];
|
||||
|
Loading…
Reference in New Issue
Block a user