X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=include%2Fasm-x86%2Fipi.h;h=bb1c09f7a76ced4cd028d631d79a13d0171e8c2c;hp=ecc80f341f37723bd689c26da6efb86241c704f5;hb=82638844d9a8581bbf33201cc209a14876eca167;hpb=253ba4e79edc695b2925bd2ef34de06ff4d4070c diff --git a/include/asm-x86/ipi.h b/include/asm-x86/ipi.h index ecc80f341f37..bb1c09f7a76c 100644 --- a/include/asm-x86/ipi.h +++ b/include/asm-x86/ipi.h @@ -20,6 +20,7 @@ #include #include +#include /* * the following functions deal with sending IPIs between CPUs. @@ -121,7 +122,7 @@ static inline void send_IPI_mask_sequence(cpumask_t mask, int vector) * - mbligh */ local_irq_save(flags); - for_each_cpu_mask(query_cpu, mask) { + for_each_cpu_mask_nr(query_cpu, mask) { __send_IPI_dest_field(per_cpu(x86_cpu_to_apicid, query_cpu), vector, APIC_DEST_PHYSICAL); }