kernel: move z_init_cpu to private kernel headers

z_init_cpu() is a private kernel API so move it under
kernel/include.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-11-15 12:32:53 -08:00 committed by Anas Nashif
commit 2cdd44801e
2 changed files with 3 additions and 1 deletions

View file

@ -6,7 +6,6 @@
#ifndef ZEPHYR_INCLUDE_KERNEL_INTERNAL_SMP_H_
#define ZEPHYR_INCLUDE_KERNEL_INTERNAL_SMP_H_
void z_init_cpu(int id);
void z_sched_ipi(void);
#endif

View file

@ -24,6 +24,9 @@
extern "C" {
#endif
/* Initialize per-CPU kernel data */
void z_init_cpu(int id);
/* Initialize a thread */
void z_init_thread_base(struct _thread_base *thread_base, int priority,
uint32_t initial_state, unsigned int options);