summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-08-04 15:53:40 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:11 +0200
commitd2267845c42085b9419174beb1678201ed800217 (patch)
treee5b33db86cf2856c1013ed90e25c19736c26132b
parentf6fcac02fbd3182f067f69bfb256298cd4c3b37f (diff)
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/mp_desc.c (interrupt_stack_alloc): Call init_alloc_aligned() instead of init_alloc().
-rw-r--r--ChangeLog2
-rw-r--r--i386/i386/mp_desc.c2
2 files changed, 3 insertions, 1 deletions
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 <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");
/*