sched.h: fix CPU_EQUAL(s1, s2) write error
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
44a087111d
commit
27de65edc0
|
@ -113,7 +113,7 @@
|
|||
|
||||
/* 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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue