use SEM_INITIALIZER inside of NXSEM_INITIALIZER

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao
2022-10-19 23:57:25 +08:00
committed by Xiang Xiao
parent 5724c6b2e4
commit e1ca516488
45 changed files with 122 additions and 130 deletions
+2 -2
View File
@@ -80,7 +80,7 @@
struct hp_wqueue_s g_hpwork =
{
{NULL, NULL},
NXSEM_INITIALIZER(0, PRIOINHERIT_FLAGS_DISABLE),
SEM_INITIALIZER(0),
};
#endif /* CONFIG_SCHED_HPWORK */
@@ -91,7 +91,7 @@ struct hp_wqueue_s g_hpwork =
struct lp_wqueue_s g_lpwork =
{
{NULL, NULL},
NXSEM_INITIALIZER(0, PRIOINHERIT_FLAGS_DISABLE),
SEM_INITIALIZER(0),
};
#endif /* CONFIG_SCHED_LPWORK */