diff options
author | Richard Braun <rbraun@sceen.net> | 2012-12-30 18:22:41 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-12-30 18:22:41 +0100 |
commit | bf84633f738f0ea00075139fbdb184685a975018 (patch) | |
tree | 6e845b9a91b52ae5d23fcfdfddd5277d633ea56c /kern/thread.c | |
parent | 3b9c858a93484355a70d3d84c56f087e596c265b (diff) |
kern/thread: fix stack alignment
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 4c48ef0d..ed5385dc 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -120,7 +120,7 @@ thread_setup(void) kmem_cache_init(&thread_cache, "thread", sizeof(struct thread), CPU_L1_SIZE, NULL, NULL, NULL, 0); kmem_cache_init(&thread_stack_cache, "thread_stack", STACK_SIZE, - CPU_L1_SIZE, NULL, NULL, NULL, 0); + DATA_ALIGN, NULL, NULL, NULL, 0); } static void |