mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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
This commit is contained in:
parent
9cebed423c
commit
76f30759f6
@ -1,3 +1,6 @@
|
|||||||
|
#ifndef _ASM_X86_ALTERNATIVE_ASM_H
|
||||||
|
#define _ASM_X86_ALTERNATIVE_ASM_H
|
||||||
|
|
||||||
#ifdef __ASSEMBLY__
|
#ifdef __ASSEMBLY__
|
||||||
|
|
||||||
#include <asm/asm.h>
|
#include <asm/asm.h>
|
||||||
@ -24,3 +27,5 @@
|
|||||||
.endm
|
.endm
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
|
#endif /* _ASM_X86_ALTERNATIVE_ASM_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user