kernel: remove unused z_init_thread_base from kernel.h

This API is internal and not used in any way in kernel.h, so move it
back to where it is needed.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2023-09-18 12:52:08 -04:00 committed by Carles Cufí
commit a1c7bfbc63
2 changed files with 4 additions and 5 deletions

View file

@ -5931,10 +5931,6 @@ static inline void k_cpu_atomic_idle(unsigned int key)
/** /**
* @internal * @internal
*/ */
extern void z_init_thread_base(struct _thread_base *thread_base,
int priority, uint32_t initial_state,
unsigned int options);
#ifdef CONFIG_MULTITHREADING #ifdef CONFIG_MULTITHREADING
/** /**
* @internal * @internal

View file

@ -24,8 +24,11 @@
extern "C" { extern "C" {
#endif #endif
/* Early boot functions */ /* Initialize a thread */
void z_init_thread_base(struct _thread_base *thread_base, int priority,
uint32_t initial_state, unsigned int options);
/* Early boot functions */
void z_early_memset(void *dst, int c, size_t n); void z_early_memset(void *dst, int c, size_t n);
void z_early_memcpy(void *dst, const void *src, size_t n); void z_early_memcpy(void *dst, const void *src, size_t n);