pussuw commented on a change in pull request #5782: URL: https://github.com/apache/incubator-nuttx/pull/5782#discussion_r830799637
########## File path: arch/risc-v/include/syscall.h ########## @@ -57,6 +57,7 @@ /* RV64GC system calls ******************************************************/ +#ifndef CONFIG_ARCH_USE_S_MODE Review comment: The context switching routines are not needed when using S-mode. They cannot even be used, because doing syscall / ecall will move to machine mode. -- 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