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:
parent
35a1814c4d
commit
2cdd44801e
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue