Re: [PATCH] Reset task stack state in bringup_cpu()
From: Johannes Berg
Date: Sat Mar 11 2023 - 15:29:25 EST
>Hm, in the !CONFIG_GENERIC_SMP_IDLE_THREAD case, idle_thread_get() will
>have returned NULL. Won't these then crash?
>
>Admittedly that seems to be *only* for UM, as all other architectures
>with SMP seem to set CONFIG_GENERIC_SMP_IDLE_THREAD.
UM doesn't even have SMP, so maybe CONFIG_GENERIC_SMP_IDLE_THREAD can just be removed?
johannes
--
Sent from my phone.