Skip to content
Commit 1ac3d1cc authored by Jaxson Han's avatar Jaxson Han Committed by Carles Cufí
Browse files

arch: arm64: thread: Clean thread arch when creating thread



Clean the thread->arch during the arch_new_thread to avoid unexpected
behavior. If the thread struct is allocated from heap or in stack, the
data in thread->arch might be dirty.

Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent c57fa2c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment