kern: fix supervisor page table activation

This commit is contained in:
Michael Scire 2020-02-19 20:43:19 -08:00
parent aae3c789f2
commit 560c340c96

View File

@ -80,7 +80,7 @@ namespace ams::kern {
/* Activate the supervisor page table for each core. */
DoOnEachCoreInOrder(core_id, [=]() ALWAYS_INLINE_LAMBDA {
Kernel::GetKernelPageTable().Activate();
Kernel::GetKernelPageTable().ActivateForInit();
});
/* NOTE: Kernel calls on each core a nullsub here on retail kernel. */