]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/ipi.h
V4L/DVB (8628): bttv: Add support for Encore ENLTV2-FM
[linux-2.6-omap-h63xx.git] / include / asm-x86 / ipi.h
index 3d8d6a6c1f8e5f8435db4e6be54b0608d0872ace..30a692cfaff8f1a67c827f5bd58ed73b24fad9d7 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __ASM_IPI_H
-#define __ASM_IPI_H
+#ifndef ASM_X86__IPI_H
+#define ASM_X86__IPI_H
 
 /*
  * Copyright 2004 James Cleverdon, IBM.
@@ -128,11 +128,11 @@ 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);
        }
        local_irq_restore(flags);
 }
 
-#endif /* __ASM_IPI_H */
+#endif /* ASM_X86__IPI_H */