X86_SMP: ipi.c declare functions before they get used
authorJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 05:35:56 +0000 (11:05 +0530)
committerJaswinder Singh <jaswinder@infradead.org>
Fri, 25 Jul 2008 06:27:46 +0000 (11:57 +0530)
move <mach_ipi.h> upwards for __send_IPI_shortcut and send_IPI_mask_bitmask

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
arch/x86/kernel/ipi.c

index 3f7537b669d312e08a6d92e92787feb0ae903549..f1c688e46f35a8443e031b0e8dd572800a86c097 100644 (file)
@@ -20,6 +20,8 @@
 
 #ifdef CONFIG_X86_32
 #include <mach_apic.h>
+#include <mach_ipi.h>
+
 /*
  * the following functions deal with sending IPIs between CPUs.
  *
@@ -147,7 +149,6 @@ void send_IPI_mask_sequence(cpumask_t mask, int vector)
 }
 
 /* must come after the send_IPI functions above for inlining */
-#include <mach_ipi.h>
 static int convert_apicid_to_cpu(int apic_id)
 {
        int i;