summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-03-03 18:12:29 +0100
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:52 +0200
commitc27cfeffad436816ecd500b8dc94acf348182b13 (patch)
treea87542b0119232f39f47809ad8249009daedbe57 /include/asm-x86/smp.h
parentx86: fix switch_to() clobbers (diff)
downloadlinux-c27cfeffad436816ecd500b8dc94acf348182b13.tar.xz
linux-c27cfeffad436816ecd500b8dc94acf348182b13.zip
x86: commonize smp.h
this is the first step of integrating smp.h between x86_64 and i386 Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r--include/asm-x86/smp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h
index f2e8319a6b0b..f250d1c3f8a0 100644
--- a/include/asm-x86/smp.h
+++ b/include/asm-x86/smp.h
@@ -1,5 +1,12 @@
+#ifndef _ASM_X86_SMP_H_
+#define _ASM_X86_SMP_H_
+#ifndef __ASSEMBLY__
+
#ifdef CONFIG_X86_32
# include "smp_32.h"
#else
# include "smp_64.h"
#endif
+
+#endif /* __ASSEMBLY__ */
+#endif