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:
Anas Nashif 2023-09-27 10:45:18 +00:00 committed by Carles Cufí
parent 43a7402baf
commit 7a18c2b150
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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
}
}

View File

@ -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;