This should fix a bug when NCPUS is not even or a power of two (?)

---
 i386/i386/mp_desc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/i386/i386/mp_desc.c b/i386/i386/mp_desc.c
index 6e250be6..1343861c 100644
--- a/i386/i386/mp_desc.c
+++ b/i386/i386/mp_desc.c
@@ -77,7 +77,7 @@ unsigned long in_interrupt[NCPUS];
 #endif
 
 /* Interrupt stack allocation */
-uint8_t solid_intstack[NCPUS*INTSTACK_SIZE] __aligned(NCPUS*INTSTACK_SIZE);
+uint8_t solid_intstack[NCPUS*INTSTACK_SIZE] __aligned(INTSTACK_SIZE);
 
 void
 interrupt_stack_alloc(void)
-- 
2.51.0



Reply via email to