xiaoxiang781216 commented on code in PR #16750: URL: https://github.com/apache/nuttx/pull/16750#discussion_r2217304822
########## arch/xtensa/include/irq.h: ########## @@ -94,9 +94,17 @@ #define REG_SAR (18) #define REG_EXCCAUSE (19) #define REG_EXCVADDR (20) -#define REG_THREADPTR (21) -#define _REG_EXTRA_START (22) +#ifdef CONFIG_SCHED_THREAD_LOCAL +# ifndef XCHAL_HAVE_THREADPTR || XCHAL_HAVE_THREADPTR == 0 +# error architecture-specific TLS depends on ISA THREADPTR(Thread Porinter) +# else Review Comment: ```suggestion # endif # define REG_THREADPTR (21) # define _REG_EXTRA_START (22) ``` -- 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