diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | i386/i386/mp_desc.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -9,6 +9,8 @@ * i386/i386/io_perm.c (i386_io_perm_create): Lock io_perm->port, not inexistent device->port. * i386/i386/mp_desc.c: Include <machine/vm_param.h> + (interrupt_stack_alloc): Call init_alloc_aligned() instead of + init_alloc(). * i386/i386/mp_desc.h: Include <i386at/idt.h> instead of "idt.h" 2007-07-08 Samuel Thibault <samuel.thibault@ens-lyon.org> diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c index 300ea7a..b037846 100644 --- a/i386/i386/mp_desc.c +++ b/i386/i386/mp_desc.c @@ -190,7 +190,7 @@ interrupt_stack_alloc() * Allocate an interrupt stack for each CPU except for * the master CPU (which uses the bootstrap stack) */ - if (!init_alloc(INTSTACK_SIZE*(cpu_count-1), &stack_start)) + if (!init_alloc_aligned(INTSTACK_SIZE*(cpu_count-1), &stack_start)) panic("not enough memory for interrupt stacks"); /* |