From 09ef619c512bb3202348ad63de25261194ac8780 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 --- libmesosphere/include/mesosphere.hpp | 2 ++ libmesosphere/source/kern_k_scheduler.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libmesosphere/include/mesosphere.hpp b/libmesosphere/include/mesosphere.hpp index 11e70e2a..f5019be4 100644 --- a/libmesosphere/include/mesosphere.hpp +++ b/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/libmesosphere/source/kern_k_scheduler.cpp b/libmesosphere/source/kern_k_scheduler.cpp index c1fbe751..b4f9993f 100644 --- a/libmesosphere/source/kern_k_scheduler.cpp +++ b/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); } } }