Skip to content

Commit 67e7b22

Browse files
committed
fix
1 parent c025e47 commit 67e7b22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schedule/zephyr_dp_schedule_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ int scheduler_dp_task_init(struct task **task,
280280
}
281281

282282
#ifdef CONFIG_USERSPACE
283-
if ((*task)->flags & K_USER) {
283+
if (task_memory->task.flags & K_USER) {
284284
ret = user_memory_init_shared(pdata->thread_id, pdata->mod);
285285
if (ret < 0) {
286286
tr_err(&dp_tr, "user_memory_init_shared() failed");

0 commit comments

Comments
 (0)