jlaitine commented on a change in pull request #5247:
URL: https://github.com/apache/incubator-nuttx/pull/5247#discussion_r786243630



##########
File path: arch/risc-v/src/common/riscv_exception_common.S
##########
@@ -178,16 +181,8 @@ exception_common:
   .type   g_intstackalloc, object
   .type   g_intstacktop, object
 g_intstackalloc:
-#ifndef CONFIG_SMP
-  .skip  ((CONFIG_ARCH_INTERRUPTSTACK + 8) & ~15)
-#else
-  .skip  (((CONFIG_ARCH_INTERRUPTSTACK * CONFIG_SMP_NCPUS) + 8) & ~15)

Review comment:
       I am actually in my setup booting two NuttX instances on the  same SoC, 
one on e51 hart, which initializes the HW and triggers the other OSs, and 
another one starting on one of the u54 harts. None of those is running in SMP 
mode, but the one running on e51 needs the multiple irq stacks in the process 
of setting up the others.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to