Skip to content

Commit 7deecd6

Browse files
committed
fix
1 parent 2b37208 commit 7deecd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/schedule/zephyr_dp_schedule_thread.c

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

296296
#ifdef CONFIG_USERSPACE
297-
if ((*task)->flags & K_USER) {
297+
if (task_memory->task.flags & K_USER) {
298298
ret = user_memory_init_shared(pdata->thread_id, pdata->mod);
299299
if (ret < 0) {
300300
tr_err(&dp_tr, "user_memory_init_shared() failed");

0 commit comments

Comments
 (0)