summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-25 11:05:56 +0530
committerJaswinder Singh <jaswinder@infradead.org>2008-07-25 11:57:46 +0530
commit2907829cd0ffdef69083985ba28cf1cf3857c681 (patch)
treec463d390cd10d4d86b4974f7cdcc24e0f9f57f96 /arch/x86
parentf86c99853b22576ee8dc4fa27ff6f3c0c7ce0ef8 (diff)
downloadblackbird-op-linux-2907829cd0ffdef69083985ba28cf1cf3857c681.tar.gz
blackbird-op-linux-2907829cd0ffdef69083985ba28cf1cf3857c681.zip
X86_SMP: ipi.c declare functions before they get used
move <mach_ipi.h> upwards for __send_IPI_shortcut and send_IPI_mask_bitmask Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/ipi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/ipi.c b/arch/x86/kernel/ipi.c
index 3f7537b669d3..f1c688e46f35 100644
--- a/arch/x86/kernel/ipi.c
+++ b/arch/x86/kernel/ipi.c
@@ -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;
OpenPOWER on IntegriCloud