pkarashchenko commented on a change in pull request #5192:
URL: https://github.com/apache/incubator-nuttx/pull/5192#discussion_r780528189



##########
File path: arch/risc-v/src/common/riscv_internal.h
##########
@@ -184,8 +173,8 @@ uint32_t riscv_get_newintctx(void);
 void riscv_savefpu(uint64_t *regs);
 void riscv_restorefpu(const uint64_t *regs);
 #else /* !CONFIG_ARCH_RV64 */
-void riscv_savefpu(uint32_t *regs);
-void riscv_restorefpu(const uint32_t *regs);
+void riscv_savefpu(uintptr_t *regs);
+void riscv_restorefpu(const uintptr_t *regs);

Review comment:
       Eliminate `CONFIG_ARCH_RV64` and use only
   ```
   void riscv_savefpu(uintptr_t *regs);
   void riscv_restorefpu(const uintptr_t *regs);
   ```




-- 
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