diff options
Diffstat (limited to 'arch/x86/xen/smp.c')
-rw-r--r-- | arch/x86/xen/smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index aafc54437403..e340ff92f6b6 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include "xen-ops.h" | 35 | #include "xen-ops.h" |
36 | #include "mmu.h" | 36 | #include "mmu.h" |
37 | 37 | ||
38 | static cpumask_t cpu_initialized_map; | 38 | static cpumask_t xen_cpu_initialized_map; |
39 | static DEFINE_PER_CPU(int, resched_irq); | 39 | static DEFINE_PER_CPU(int, resched_irq); |
40 | static DEFINE_PER_CPU(int, callfunc_irq); | 40 | static DEFINE_PER_CPU(int, callfunc_irq); |
41 | 41 | ||
@@ -179,7 +179,7 @@ void __init xen_smp_prepare_cpus(unsigned int max_cpus) | |||
179 | if (xen_smp_intr_init(0)) | 179 | if (xen_smp_intr_init(0)) |
180 | BUG(); | 180 | BUG(); |
181 | 181 | ||
182 | cpu_initialized_map = cpumask_of_cpu(0); | 182 | xen_cpu_initialized_map = cpumask_of_cpu(0); |
183 | 183 | ||
184 | /* Restrict the possible_map according to max_cpus. */ | 184 | /* Restrict the possible_map according to max_cpus. */ |
185 | while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { | 185 | while ((num_possible_cpus() > 1) && (num_possible_cpus() > max_cpus)) { |
@@ -210,7 +210,7 @@ cpu_initialize_context(unsigned int cpu, struct task_struct *idle) | |||
210 | struct vcpu_guest_context *ctxt; | 210 | struct vcpu_guest_context *ctxt; |
211 | struct gdt_page *gdt = &per_cpu(gdt_page, cpu); | 211 | struct gdt_page *gdt = &per_cpu(gdt_page, cpu); |
212 | 212 | ||
213 | if (cpu_test_and_set(cpu, cpu_initialized_map)) | 213 | if (cpu_test_and_set(cpu, xen_cpu_initialized_map)) |
214 | return 0; | 214 | return 0; |
215 | 215 | ||
216 | ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); | 216 | ctxt = kzalloc(sizeof(*ctxt), GFP_KERNEL); |