diff --git a/mesosphere/kernel/source/kern_kernel_instantiations.cpp b/mesosphere/kernel/source/kern_kernel_instantiations.cpp index ddd4dafde..d15bbbbd6 100644 --- a/mesosphere/kernel/source/kern_kernel_instantiations.cpp +++ b/mesosphere/kernel/source/kern_kernel_instantiations.cpp @@ -30,8 +30,8 @@ namespace ams::kern { namespace { - KThread g_main_threads[cpu::NumCores]; - KThread g_idle_threads[cpu::NumCores]; + /* TODO: C++20 constinit */ std::array g_main_threads; + /* TODO: C++20 constinit */ std::array g_idle_threads; } KThread &Kernel::GetMainThread(s32 core_id) { return g_main_threads[core_id]; }