[PATCH] Reset task stack state in bringup_cpu()

Johannes Berg johannes at sipsolutions.net
Sat Mar 11 12:29:06 PST 2023




>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. 



More information about the linux-arm-kernel mailing list