summaryrefslogtreecommitdiff
path: root/arch/x86/machine/asm.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2012-10-19 01:37:30 +0200
committerRichard Braun <rbraun@sceen.net>2012-10-19 01:37:30 +0200
commita1c9df7506a33f2d9b102575a484667c3bdc24ad (patch)
tree7bc47199a955ffc4967f5a208dba419ac083d679 /arch/x86/machine/asm.h
parenta81799079229c991c1295df45e68334b39ccdc76 (diff)
Use the standard __ASSEMBLER__ macro
Diffstat (limited to 'arch/x86/machine/asm.h')
-rw-r--r--arch/x86/machine/asm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/asm.h b/arch/x86/machine/asm.h
index 07b2d23..c2c4e99 100644
--- a/arch/x86/machine/asm.h
+++ b/arch/x86/machine/asm.h
@@ -20,7 +20,7 @@
#include <machine/param.h>
-#ifdef __ASSEMBLY__
+#ifdef __ASSEMBLER__
#define ASM_ENTRY(x) \
.align TEXT_ALIGN; \
@@ -44,6 +44,6 @@ x ## _end:
#define ASM_IRET iret
#endif /* __LP64__ */
-#endif /* __ASSEMBLY__ */
+#endif /* __ASSEMBLER__ */
#endif /* _X86_ASM_H */