xiaoxiang781216 commented on code in PR #10856: URL: https://github.com/apache/nuttx/pull/10856#discussion_r1346259547
########## arch/risc-v/src/common/riscv_addrenv.c: ########## @@ -421,6 +422,12 @@ int up_addrenv_create(size_t textsize, size_t datasize, size_t heapsize, heapsize = heapsize + MM_PGALIGNUP(CONFIG_DEFAULT_TASK_STACKSIZE); +#ifdef CONFIG_TLS_ALIGNED Review Comment: Ok, but the code should be moved out of riscv to a common place since other arch suffer the same problem too. -- 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