arch/x86: (Intel64) migrate from __swap to z_arch_switch()
The latter primitive is required for SMP. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
32fc239aa2
commit
074ce889fb
4 changed files with 43 additions and 46 deletions
|
@ -32,4 +32,5 @@ void z_new_thread(struct k_thread *thread, k_thread_stack_t *stack,
|
|||
x86_sse_init(thread);
|
||||
|
||||
thread->arch.flags = X86_THREAD_FLAG_ALL;
|
||||
thread->switch_handle = thread;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue