commit | 38f00bd438cd392eaf3f6d603be98374ee1a93ac | [log] [tgz] |
---|---|---|
author | Enjia Mai <enjia.mai@intel.com> | Sat Jan 15 23:57:34 2022 +0800 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Jan 18 12:59:50 2022 -0500 |
tree | 4066cd8e1c2c707cbe00e07c413596626073822d | |
parent | 40bb3d808acb3e40b4a96f3bee794eab2f021b52 [diff] |
kernel: smp: change back the order of SMP thread and timer initialization Commit 3457118 changed the sequence of z_smp_thread_init() and smp_timer_init() in smp_init_top() subroutine, which initializes other BPs. In some boards (up_squared, acrn_ehl_crb) it will fail to work while SMP enabling. If the timer interrupt is enabled before the first thread was initialized. Now change back to its original order. Fixes #41835 Signed-off-by: Enjia Mai <enjia.mai@intel.com>