From d2267845c42085b9419174beb1678201ed800217 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 4 Aug 2007 15:53:40 +0000 Subject: 2007-08-04 Samuel Thibault * i386/i386/mp_desc.c (interrupt_stack_alloc): Call init_alloc_aligned() instead of init_alloc(). --- ChangeLog | 2 ++ i386/i386/mp_desc.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b381ad..31e415e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 + (interrupt_stack_alloc): Call init_alloc_aligned() instead of + init_alloc(). * i386/i386/mp_desc.h: Include instead of "idt.h" 2007-07-08 Samuel Thibault 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"); /* -- cgit v1.2.3