projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cebed4
)
x86, alternative: Add header guards to <asm/alternative-asm.h>
author
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 21 Sep 2012 19:43:09 +0000
(12:43 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 21 Sep 2012 19:45:26 +0000
(12:45 -0700)
Add header guards to protect <asm/alternative-asm.h> against multiple
inclusion.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link:
http://lkml.kernel.org/r/1348256595-29119-6-git-send-email-hpa@linux.intel.com
arch/x86/include/asm/alternative-asm.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/alternative-asm.h
b/arch/x86/include/asm/alternative-asm.h
index 018d29fe634a928c9e4a74fecd3824da3163a8f1..372231c22a47a46b1417e5c6739d88eb927f89fd 100644
(file)
--- a/
arch/x86/include/asm/alternative-asm.h
+++ b/
arch/x86/include/asm/alternative-asm.h
@@
-1,3
+1,6
@@
+#ifndef _ASM_X86_ALTERNATIVE_ASM_H
+#define _ASM_X86_ALTERNATIVE_ASM_H
+
#ifdef __ASSEMBLY__
#include <asm/asm.h>
@@
-24,3
+27,5
@@
.endm
#endif /* __ASSEMBLY__ */
+
+#endif /* _ASM_X86_ALTERNATIVE_ASM_H */