Skip to content

Commit

Permalink
x86, alternative: Add header guards to <asm/alternative-asm.h>
Browse files Browse the repository at this point in the history
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
  • Loading branch information
H. Peter Anvin committed Sep 21, 2012
1 parent 9cebed4 commit 76f3075
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/x86/include/asm/alternative-asm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _ASM_X86_ALTERNATIVE_ASM_H
#define _ASM_X86_ALTERNATIVE_ASM_H

#ifdef __ASSEMBLY__

#include <asm/asm.h>
Expand All @@ -24,3 +27,5 @@
.endm

#endif /* __ASSEMBLY__ */

#endif /* _ASM_X86_ALTERNATIVE_ASM_H */

0 comments on commit 76f3075

Please sign in to comment.