summaryrefslogtreecommitdiff
path: root/i386
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 /i386
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().
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/mp_desc.c2
1 files changed, 1 insertions, 1 deletions
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");
/*