summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/alternative-asm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-09-21 12:43:09 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2012-09-21 12:45:26 -0700
commit76f30759f690db21ca567a20665ed2679ad3235b (patch)
treeda572f665e235ddb4f6c2bb2e20d08ff252d3651 /arch/x86/include/asm/alternative-asm.h
parent9cebed423c84a56b871327dd77e555d1d2186a6b (diff)
downloadlinux-76f30759f690db21ca567a20665ed2679ad3235b.tar.gz
linux-76f30759f690db21ca567a20665ed2679ad3235b.tar.bz2
linux-76f30759f690db21ca567a20665ed2679ad3235b.zip
x86, alternative: Add header guards to <asm/alternative-asm.h>
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
Diffstat (limited to 'arch/x86/include/asm/alternative-asm.h')
-rw-r--r--arch/x86/include/asm/alternative-asm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/alternative-asm.h b/arch/x86/include/asm/alternative-asm.h
index 018d29fe634a..372231c22a47 100644
--- 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 */