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:
parent
edd68d8ae9
commit
774648de0f
|
@ -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 **)¶m);
|
||||
return kthread_create(name, prio, stack_depth, entry, (char **)¶m);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue