summaryrefslogtreecommitdiff
path: root/arch/x86/machine/boot.c
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/boot.c
parent50dc3017b08158f5a808b4817627bd6d8f957df3 (diff)
Move the DATA_ALIGN and TEXT_ALIGN macros to the x86/cpu module
Diffstat (limited to 'arch/x86/machine/boot.c')
-rw-r--r--arch/x86/machine/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/boot.c b/arch/x86/machine/boot.c
index 72c5bb37..df7a2066 100644
--- a/arch/x86/machine/boot.c
+++ b/arch/x86/machine/boot.c
@@ -77,8 +77,8 @@
#include <vm/vm_kmem.h>
#include <vm/vm_setup.h>
-char boot_stack[BOOT_STACK_SIZE] __aligned(DATA_ALIGN) __bootdata;
-char boot_ap_stack[BOOT_STACK_SIZE] __aligned(DATA_ALIGN) __bootdata;
+char boot_stack[BOOT_STACK_SIZE] __aligned(CPU_DATA_ALIGN) __bootdata;
+char boot_ap_stack[BOOT_STACK_SIZE] __aligned(CPU_DATA_ALIGN) __bootdata;
unsigned int boot_ap_id __bootdata;
#ifdef __LP64__