hw: align kernel stack appropriately

fix 
This commit is contained in:
Martin Stein 2014-05-07 18:28:22 +02:00 committed by Christian Helmuth
parent 8d43b67ca6
commit f53e4ff8f5

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)));
/**