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:
Charles E. Youse 2019-09-23 13:57:12 -04:00 committed by Andrew Boie
commit 074ce889fb
4 changed files with 43 additions and 46 deletions

View file

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