projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b6451f
)
x86: commonize smp.h
author
Glauber Costa
<gcosta@redhat.com>
Mon, 3 Mar 2008 17:12:29 +0000
(14:12 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:40:52 +0000
(17:40 +0200)
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>
include/asm-x86/smp.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/smp.h
b/include/asm-x86/smp.h
index f2e8319a6b0bf1b1f0bb1ace2dc51e9add7d15d2..f250d1c3f8a072330435e230513bafa050535df9 100644
(file)
--- 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