diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-11 15:55:48 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:59 -0400 |
commit | 037cab07e9515149fecc2274775807f06ea6b036 (patch) | |
tree | ce551b4846fa55f8e60cd62d3c0004e856e838dd /arch/x86/kernel | |
parent | e129cb490e842753b43af7aae136935fc0928dc8 (diff) |
x86: move mp_bus_id_to_node to numa.c
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 1 | ||||
-rw-r--r-- | arch/x86/kernel/summit_32.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index ae385b427841..1b1fd6e920e6 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c | |||
@@ -46,7 +46,6 @@ int apic_version [MAX_APICS]; | |||
46 | int mp_bus_id_to_type [MAX_MP_BUSSES]; | 46 | int mp_bus_id_to_type [MAX_MP_BUSSES]; |
47 | #endif | 47 | #endif |
48 | DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); | 48 | DECLARE_BITMAP(mp_bus_not_pci, MAX_MP_BUSSES); |
49 | int mp_bus_id_to_node [MAX_MP_BUSSES]; | ||
50 | int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 }; | 49 | int mp_bus_id_to_pci_bus [MAX_MP_BUSSES] = { [0 ... MAX_MP_BUSSES-1] = -1 }; |
51 | static int mp_current_pci_id; | 50 | static int mp_current_pci_id; |
52 | 51 | ||
diff --git a/arch/x86/kernel/summit_32.c b/arch/x86/kernel/summit_32.c index 30f04c3e68e4..6878a9c2df5d 100644 --- a/arch/x86/kernel/summit_32.c +++ b/arch/x86/kernel/summit_32.c | |||
@@ -35,6 +35,8 @@ static struct rio_table_hdr *rio_table_hdr __initdata; | |||
35 | static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata; | 35 | static struct scal_detail *scal_devs[MAX_NUMNODES] __initdata; |
36 | static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata; | 36 | static struct rio_detail *rio_devs[MAX_NUMNODES*4] __initdata; |
37 | 37 | ||
38 | static int mp_bus_id_to_node[MAX_MP_BUSSES] __initdata; | ||
39 | |||
38 | static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus) | 40 | static int __init setup_pci_node_map_for_wpeg(int wpeg_num, int last_bus) |
39 | { | 41 | { |
40 | int twister = 0, node = 0; | 42 | int twister = 0, node = 0; |