kernel: z_handle_obj_poll_events is internal not kernel.h material

This internal kernel API is misplaced in a public kernel header. Just
make it available to the code using it in the kernel.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-09-14 14:08:07 +00:00
commit 8dc2746c0e
2 changed files with 3 additions and 5 deletions

View file

@ -5767,11 +5767,6 @@ __syscall void k_poll_signal_check(struct k_poll_signal *sig,
__syscall int k_poll_signal_raise(struct k_poll_signal *sig, int result); __syscall int k_poll_signal_raise(struct k_poll_signal *sig, int result);
/**
* @internal
*/
extern void z_handle_obj_poll_events(sys_dlist_t *events, uint32_t state);
/** @} */ /** @} */
/** /**

View file

@ -227,6 +227,9 @@ void z_mem_manage_init(void);
*/ */
void z_mem_manage_boot_finish(void); void z_mem_manage_boot_finish(void);
void z_handle_obj_poll_events(sys_dlist_t *events, uint32_t state);
#ifdef CONFIG_PM #ifdef CONFIG_PM
/* When the kernel is about to go idle, it calls this function to notify the /* When the kernel is about to go idle, it calls this function to notify the