aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/setup_percpu.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index f7745f94c006..1cd53dfcd309 100644
--- a/arch/x86/kernel/setup_percpu.c
+++ b/arch/x86/kernel/setup_percpu.c
@@ -81,10 +81,12 @@ static void __init setup_per_cpu_maps(void)
81} 81}
82 82
83#ifdef CONFIG_HAVE_CPUMASK_OF_CPU_MAP 83#ifdef CONFIG_HAVE_CPUMASK_OF_CPU_MAP
84cpumask_t *cpumask_of_cpu_map __read_mostly; 84/*
85EXPORT_SYMBOL(cpumask_of_cpu_map); 85 * Replace static cpumask_of_cpu_map in the initdata section,
86 86 * with one that's allocated sized by the possible number of cpus.
87/* requires nr_cpu_ids to be initialized */ 87 *
88 * (requires nr_cpu_ids to be initialized)
89 */
88static void __init setup_cpumask_of_cpu(void) 90static void __init setup_cpumask_of_cpu(void)
89{ 91{
90 int i; 92 int i;