summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic/summit.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-07-11 18:43:10 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-12 08:45:13 +0200
commit4696ca5bfd2697f5686f96d59cf0b6de14869b4e (patch)
treef68e2bf20ee00ce92f38a9c93fc0d3c7834bbd17 /arch/x86/mach-generic/summit.c
parentc535b6a1a685eb23f96e2c221777d6c1e05080d5 (diff)
downloadop-kernel-dev-4696ca5bfd2697f5686f96d59cf0b6de14869b4e.zip
op-kernel-dev-4696ca5bfd2697f5686f96d59cf0b6de14869b4e.tar.gz
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/summit.c')
-rw-r--r--arch/x86/mach-generic/summit.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/mach-generic/summit.c b/arch/x86/mach-generic/summit.c
index a97ea0f..752edd9 100644
--- a/arch/x86/mach-generic/summit.c
+++ b/arch/x86/mach-generic/summit.c
@@ -4,17 +4,16 @@
#define APIC_DEFINITION 1
#include <linux/threads.h>
#include <linux/cpumask.h>
-#include <asm/smp.h>
#include <asm/mpspec.h>
#include <asm/genapic.h>
#include <asm/fixmap.h>
#include <asm/apicdef.h>
#include <linux/kernel.h>
#include <linux/string.h>
-#include <linux/smp.h>
#include <linux/init.h>
-#include <asm/mach-summit/mach_apic.h>
#include <asm/mach-summit/mach_apicdef.h>
+#include <linux/smp.h>
+#include <asm/mach-summit/mach_apic.h>
#include <asm/mach-summit/mach_ipi.h>
#include <asm/mach-summit/mach_mpparse.h>
OpenPOWER on IntegriCloud