mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
sched.h: fix CPU_EQUAL(s1, s2) write error
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
/* int CPU_EQUAL(FAR const cpu_set_t *set1, FAR const cpu_set_t *set2); */
|
/* int CPU_EQUAL(FAR const cpu_set_t *set1, FAR const cpu_set_t *set2); */
|
||||||
|
|
||||||
# define CPU_EQUAL(s1,s2) (*(s2) == *(s2))
|
# define CPU_EQUAL(s1,s2) (*(s1) == *(s2))
|
||||||
|
|
||||||
/* REVISIT: Variably sized CPU sets are not supported */
|
/* REVISIT: Variably sized CPU sets are not supported */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user