1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-09-19 21:43:29 +01:00

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