diff options
Diffstat (limited to 'arch/x86/xen/smp.c')
-rw-r--r-- | arch/x86/xen/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/smp.c b/arch/x86/xen/smp.c index 233156f39b7f..463adecc5cba 100644 --- a/arch/x86/xen/smp.c +++ b/arch/x86/xen/smp.c | |||
@@ -351,7 +351,7 @@ static void xen_send_IPI_mask(cpumask_t mask, enum ipi_vector vector) | |||
351 | 351 | ||
352 | cpus_and(mask, mask, cpu_online_map); | 352 | cpus_and(mask, mask, cpu_online_map); |
353 | 353 | ||
354 | for_each_cpu_mask(cpu, mask) | 354 | for_each_cpu_mask_nr(cpu, mask) |
355 | xen_send_IPI_one(cpu, vector); | 355 | xen_send_IPI_one(cpu, vector); |
356 | } | 356 | } |
357 | 357 | ||
@@ -362,7 +362,7 @@ void xen_smp_send_call_function_ipi(cpumask_t mask) | |||
362 | xen_send_IPI_mask(mask, XEN_CALL_FUNCTION_VECTOR); | 362 | xen_send_IPI_mask(mask, XEN_CALL_FUNCTION_VECTOR); |
363 | 363 | ||
364 | /* Make sure other vcpus get a chance to run if they need to. */ | 364 | /* Make sure other vcpus get a chance to run if they need to. */ |
365 | for_each_cpu_mask(cpu, mask) { | 365 | for_each_cpu_mask_nr(cpu, mask) { |
366 | if (xen_vcpu_stolen(cpu)) { | 366 | if (xen_vcpu_stolen(cpu)) { |
367 | HYPERVISOR_sched_op(SCHEDOP_yield, 0); | 367 | HYPERVISOR_sched_op(SCHEDOP_yield, 0); |
368 | break; | 368 | break; |