sched.h: fix CPU_EQUAL(s1, s2) write error

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2023-12-29 12:49:16 +08:00 committed by GUIDINGLI
parent 44a087111d
commit 27de65edc0

View File

@ -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 */