From e330b6187fd590a21d37ba96a4e22ecd08a821ef Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 7 Feb 2020 19:48:07 -0800 Subject: [PATCH] kern: bugfix, turn on auditing for the time being --- libraries/libmesosphere/include/mesosphere.hpp | 2 ++ libraries/libmesosphere/source/kern_k_scheduler.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/libmesosphere/include/mesosphere.hpp b/libraries/libmesosphere/include/mesosphere.hpp index 11e70e2a5..f5019be44 100644 --- a/libraries/libmesosphere/include/mesosphere.hpp +++ b/libraries/libmesosphere/include/mesosphere.hpp @@ -15,6 +15,8 @@ */ #pragma once +#define MESOSPHERE_BUILD_FOR_AUDITING + /* All kernel code should have access to libvapours. */ #include diff --git a/libraries/libmesosphere/source/kern_k_scheduler.cpp b/libraries/libmesosphere/source/kern_k_scheduler.cpp index c1fbe7512..b4f9993f2 100644 --- a/libraries/libmesosphere/source/kern_k_scheduler.cpp +++ b/libraries/libmesosphere/source/kern_k_scheduler.cpp @@ -375,7 +375,7 @@ namespace ams::kern { } /* Get the next suggestion. */ - suggested = priority_queue.GetScheduledNext(core_id, suggested); + suggested = priority_queue.GetSuggestedNext(core_id, suggested); } } }