Commit 7bb40bd9 authored by Adithya Baglody's avatar Adithya Baglody Committed by Andrew Boie
Browse files

kernel: init: mem_domain structure is initialized for dummy thread.



For the dummy thread, contents in the mem_domain structure
is insignificant hence setting it to NULL.

Signed-off-by: default avatarAdithya Baglody <adithya.nagaraj.baglody@intel.com>
parent 792fc9ed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -259,6 +259,9 @@ static void prepare_multithreading(struct k_thread *dummy_thread)
	dummy_thread->stack_info.start = 0;
	dummy_thread->stack_info.size = 0;
#endif
#ifdef CONFIG_USERSPACE
	dummy_thread->mem_domain_info.mem_domain = 0;
#endif
#endif

	/* _kernel.ready_q is all zeroes */