You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/03/26 11:36:54 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5850: armv7-m/armv8-m: move up_pref* api to common place

xiaoxiang781216 commented on a change in pull request #5850:
URL: https://github.com/apache/incubator-nuttx/pull/5850#discussion_r835754822



##########
File path: include/nuttx/arch.h
##########
@@ -2555,8 +2555,10 @@ void arch_sporadic_resume(FAR struct tcb_s *tcb);
  *
  *   The second interface simple converts an elapsed time into well known
  *   units.
+ *
  ****************************************************************************/
 
+void up_perf_init(FAR void *arg);

Review comment:
       It intend to use void * here, if other arch implementation may need more argument, he can define a struct to contain more info without modify the prototype.




-- 
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-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org