syscall: rename z_object_uninit -> k_object_uninit
Rename internal function z_object_uninit. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
43a7402baf
commit
7a18c2b150
@ -157,7 +157,7 @@ void z_thread_perms_all_clear(struct k_thread *thread);
|
||||
*
|
||||
* @param object Address of the kernel object
|
||||
*/
|
||||
void z_object_uninit(const void *obj);
|
||||
void k_object_uninit(const void *obj);
|
||||
|
||||
/**
|
||||
* Initialize and reset permissions to only access by the caller
|
||||
|
||||
@ -1752,8 +1752,8 @@ static void end_thread(struct k_thread *thread)
|
||||
#ifdef CONFIG_USERSPACE
|
||||
z_mem_domain_exit_thread(thread);
|
||||
z_thread_perms_all_clear(thread);
|
||||
z_object_uninit(thread->stack_obj);
|
||||
z_object_uninit(thread);
|
||||
k_object_uninit(thread->stack_obj);
|
||||
k_object_uninit(thread);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
@ -790,7 +790,7 @@ void k_object_recycle(const void *obj)
|
||||
}
|
||||
}
|
||||
|
||||
void z_object_uninit(const void *obj)
|
||||
void k_object_uninit(const void *obj)
|
||||
{
|
||||
struct k_object *ko;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user