kernel/smp: Rename smp_init()

This name collides with one in the bt subsystem, and wasn't named in
proper zephyrese anyway.

Fixes #16604

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2019-06-05 08:58:42 -07:00 committed by Anas Nashif
commit a12f2d6666
3 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ extern void z_thread_monitor_exit(struct k_thread *thread);
} while (false)
#endif /* CONFIG_THREAD_MONITOR */
extern void smp_init(void);
extern void z_smp_init(void);
extern void smp_timer_init(void);

View file

@ -263,7 +263,7 @@ static void bg_thread_main(void *unused1, void *unused2, void *unused3)
z_init_static_threads();
#ifdef CONFIG_SMP
smp_init();
z_smp_init();
#endif
#ifdef CONFIG_BOOT_TIME_MEASUREMENT

View file

@ -89,7 +89,7 @@ static void smp_init_top(int key, void *arg)
}
#endif
void smp_init(void)
void z_smp_init(void)
{
(void)atomic_clear(&start_flag);