summaryrefslogtreecommitdiff
path: root/arch/x86/mach-generic/numaq.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-12 05:43:10 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-12 10:45:13 +0400
commit4696ca5bfd2697f5686f96d59cf0b6de14869b4e (patch)
treef68e2bf20ee00ce92f38a9c93fc0d3c7834bbd17 /arch/x86/mach-generic/numaq.c
parentc535b6a1a685eb23f96e2c221777d6c1e05080d5 (diff)
downloadlinux-4696ca5bfd2697f5686f96d59cf0b6de14869b4e.tar.xz
x86: mach_apicdef.h need to include before smp.h
smp.h internal has include, so need to include that at first when genericarch use them need to have different apicdef.h Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/numaq.c')
-rw-r--r--arch/x86/mach-generic/numaq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-generic/numaq.c b/arch/x86/mach-generic/numaq.c
index 8091e68764c4..95c07efff6b7 100644
--- a/arch/x86/mach-generic/numaq.c
+++ b/arch/x86/mach-generic/numaq.c
@@ -4,7 +4,6 @@
#define APIC_DEFINITION 1
#include <linux/threads.h>
#include <linux/cpumask.h>
-#include <linux/smp.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
@@ -12,8 +11,9 @@
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
-#include <asm/mach-numaq/mach_apic.h>
#include <asm/mach-numaq/mach_apicdef.h>
+#include <linux/smp.h>
+#include <asm/mach-numaq/mach_apic.h>
#include <asm/mach-numaq/mach_ipi.h>
#include <asm/mach-numaq/mach_mpparse.h>
#include <asm/mach-numaq/mach_wakecpu.h>