aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r--arch/x86/kernel/mpparse_64.c2
-rw-r--r--arch/x86/kernel/smpboot.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/mpparse_64.c b/arch/x86/kernel/mpparse_64.c
index 71f098414d0b..a1d8d4432988 100644
--- a/arch/x86/kernel/mpparse_64.c
+++ b/arch/x86/kernel/mpparse_64.c
@@ -60,8 +60,6 @@ int nr_ioapics;
60unsigned int boot_cpu_physical_apicid = -1U; 60unsigned int boot_cpu_physical_apicid = -1U;
61EXPORT_SYMBOL(boot_cpu_physical_apicid); 61EXPORT_SYMBOL(boot_cpu_physical_apicid);
62 62
63unsigned disabled_cpus __cpuinitdata;
64
65#ifdef CONFIG_SMP 63#ifdef CONFIG_SMP
66u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata 64u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
67 = {[0 ... NR_CPUS - 1] = BAD_APICID }; 65 = {[0 ... NR_CPUS - 1] = BAD_APICID };
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index fd0bdd36f4ea..f45d740b1b6a 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -84,8 +84,6 @@ u16 x86_bios_cpu_apicid_init[NR_CPUS] __initdata
84 = { [0 ... NR_CPUS-1] = BAD_APICID }; 84 = { [0 ... NR_CPUS-1] = BAD_APICID };
85void *x86_bios_cpu_apicid_early_ptr; 85void *x86_bios_cpu_apicid_early_ptr;
86 86
87unsigned disabled_cpus __cpuinitdata;
88
89u8 apicid_2_node[MAX_APICID]; 87u8 apicid_2_node[MAX_APICID];
90#endif 88#endif
91 89
@@ -98,6 +96,8 @@ physid_mask_t phys_cpu_present_map;
98/* State of each CPU */ 96/* State of each CPU */
99DEFINE_PER_CPU(int, cpu_state) = { 0 }; 97DEFINE_PER_CPU(int, cpu_state) = { 0 };
100 98
99unsigned disabled_cpus __cpuinitdata;
100
101/* Store all idle threads, this can be reused instead of creating 101/* Store all idle threads, this can be reused instead of creating
102* a new thread. Also avoids complicated thread destroy functionality 102* a new thread. Also avoids complicated thread destroy functionality
103* for idle threads. 103* for idle threads.