aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/smp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c
index 800bb2191e2a..8310ca0ea375 100644
--- a/arch/x86/xen/smp.c
+++ b/arch/x86/xen/smp.c
@@ -155,8 +155,10 @@ static void __init xen_fill_possible_map(void)
155 155
156 for (i = 0; i < NR_CPUS; i++) { 156 for (i = 0; i < NR_CPUS; i++) {
157 rc = HYPERVISOR_vcpu_op(VCPUOP_is_up, i, NULL); 157 rc = HYPERVISOR_vcpu_op(VCPUOP_is_up, i, NULL);
158 if (rc >= 0) 158 if (rc >= 0) {
159 num_processors++;
159 cpu_set(i, cpu_possible_map); 160 cpu_set(i, cpu_possible_map);
161 }
160 } 162 }
161} 163}
162 164