Skip to content

Commit

Permalink
X86_SMP: ipi.c declare functions before they get used
Browse files Browse the repository at this point in the history
move <mach_ipi.h> upwards for __send_IPI_shortcut and send_IPI_mask_bitmask

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
  • Loading branch information
Jaswinder Singh committed Jul 25, 2008
1 parent f86c998 commit 2907829
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/x86/kernel/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2907829

Please sign in to comment.