pussuw commented on code in PR #6242:
URL: https://github.com/apache/incubator-nuttx/pull/6242#discussion_r870967724


##########
arch/risc-v/src/qemu-rv/qemu_rv_timerisr.c:
##########
@@ -61,11 +61,13 @@
 
 void up_timer_initialize(void)
 {
+#ifndef CONFIG_BUILD_KERNEL

Review Comment:
   I think this is unnecessary. The mtimer driver forwards access to SBI, if 
CONFIG_ARCH_USE_S_MODE is defined.
   
   But this is fine also if you don't need the ticker.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to