Skip to content
Permalink
Browse files

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>
  • Loading branch information...
andyross authored and nashif committed Jun 5, 2019
1 parent d244ee8 commit a12f2d6666096ef857ea2b2d66bf09000579d36d
Showing with 3 additions and 3 deletions.
  1. +1 −1 kernel/include/kernel_internal.h
  2. +1 −1 kernel/init.c
  3. +1 −1 kernel/smp.c
@@ -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);

@@ -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
@@ -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);

0 comments on commit a12f2d6

Please sign in to comment.
You can’t perform that action at this time.