Skip to content
Commit a3c7152f authored by Peter Mitsis's avatar Peter Mitsis Committed by Fabio Baltieri
Browse files

kernel: Update thread cpu in z_get_next_switch_handle()



Updates z_get_next_switch_handle() to set the new thread's base.cpu
value as it is done in do_swap(). This helps to ensure that the
last CPU on which the thread executed remains current.

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent 4363a787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment