risc0v/bl602: Call kthread_create instead of nxtask_create in bl_os_task_create

since the kernel component should use the kernel thread instead the normal task

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-16 00:23:21 +08:00 committed by Masayuki Ishikawa
parent edd68d8ae9
commit 774648de0f
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ int bl_os_task_create(const char *name,
uint32_t prio,
void *task_handle)
{
return nxtask_create(name, prio, stack_depth, entry, (char **)&param);
return kthread_create(name, prio, stack_depth, entry, (char **)&param);
}
/****************************************************************************