diff options
author | Richard Braun <rbraun@sceen.net> | 2017-06-24 21:57:57 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-06-24 21:58:32 +0200 |
commit | 5127024f429da92ffdb93ba3cc0af367bc26f703 (patch) | |
tree | b36a1e695d39eb49216e1ecf879208a782822f0e /kern/thread.c | |
parent | 50dc3017b08158f5a808b4817627bd6d8f957df3 (diff) |
Move the DATA_ALIGN and TEXT_ALIGN macros to the x86/cpu module
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c index 7b186cb7..785640cb 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -2305,7 +2305,7 @@ thread_setup(void) CPU_L1_SIZE, NULL, 0); #ifndef X15_THREAD_STACK_GUARD kmem_cache_init(&thread_stack_cache, "thread_stack", TCB_STACK_SIZE, - DATA_ALIGN, NULL, 0); + CPU_DATA_ALIGN, NULL, 0); #endif /* X15_THREAD_STACK_GUARD */ thread_setup_reaper(); |