hw: align kernel stack appropriately

fix #1161
This commit is contained in:
Martin Stein 2014-05-07 18:28:22 +02:00 committed by Christian Helmuth
parent 8d43b67ca6
commit f53e4ff8f5
1 changed files with 2 additions and 1 deletions

View File

@ -212,8 +212,9 @@ namespace Kernel
/**
* Enable kernel-entry assembly to get an exclusive stack at every processor
*/
char kernel_stack[PROCESSORS][Kernel::STACK_SIZE] __attribute__((aligned()));
unsigned kernel_stack_size = Kernel::STACK_SIZE;
char kernel_stack[PROCESSORS][Kernel::STACK_SIZE]
__attribute__((aligned(16)));
/**