summaryrefslogtreecommitdiff
path: root/arch/x86/machine/asm.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-06-24 21:57:57 +0200
committerRichard Braun <rbraun@sceen.net>2017-06-24 21:58:32 +0200
commit5127024f429da92ffdb93ba3cc0af367bc26f703 (patch)
treeb36a1e695d39eb49216e1ecf879208a782822f0e /arch/x86/machine/asm.h
parent50dc3017b08158f5a808b4817627bd6d8f957df3 (diff)
Move the DATA_ALIGN and TEXT_ALIGN macros to the x86/cpu module
Diffstat (limited to 'arch/x86/machine/asm.h')
-rw-r--r--arch/x86/machine/asm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/machine/asm.h b/arch/x86/machine/asm.h
index 6118bb8..204d6fe 100644
--- a/arch/x86/machine/asm.h
+++ b/arch/x86/machine/asm.h
@@ -22,16 +22,16 @@
#warning "asm.h included from a C file"
#endif /* __ASSEMBLER__ */
-#include <machine/param.h>
+#include <machine/cpu.h>
#define ASM_ENTRY(x) \
-.align TEXT_ALIGN; \
+.align CPU_TEXT_ALIGN; \
.global x; \
.type x, STT_FUNC; \
x:
#define ASM_DATA(x) \
-.align DATA_ALIGN; \
+.align CPU_DATA_ALIGN; \
.global x; \
.type x, STT_OBJECT; \
x: