pkarashchenko commented on code in PR #10086:
URL: https://github.com/apache/nuttx/pull/10086#discussion_r1285158102
##########
include/sched.h:
##########
@@ -252,9 +252,10 @@ int sched_setaffinity(pid_t pid, size_t cpusetsize,
FAR const cpu_set_t *mask);
int sched_getaffinity(pid_t pid, size_t cpusetsize, FAR cpu_set_t *mask);
int sched_cpucount(FAR const cpu_set_t *set);
-int sched_getcpu(void);
#endif /* CONFIG_SMP */
+int sched_getcpu(void);
Review Comment:
Could you please expand your answer more? I'm expecting only adding `#else`
fo above `#ifdef` and define in this header file. What other changes are needed?
--
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]