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:
parent
209ff606be
commit
a1c7bfbc63
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue