lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240930164455.2060692-2-maennich@google.com>
Date: Mon, 30 Sep 2024 16:44:56 +0000
From: "Matthias Männich" <maennich@...gle.com>
To: linux-kernel@...r.kernel.org, tj@...nel.org
Cc: kernel-team@...roid.com, maennich@...gle.com, peterz@...radead.org, 
	void@...ifault.com
Subject: [PATCH] sched: fix include for task_cpu_possible

From: Matthias Maennich <maennich@...gle.com>

Commit 2c390dda9e03 ("sched_ext: Make task_can_run_on_remote_rq() use
common task_allowed_on_cpu()") moved the call for task_cpu_possible from
kernel/sched/core.c, but did not add an include of linux/mmu_context.h
where this symbol is defined. Fix that by adding the missing include.

Fixes: 2c390dda9e03 ("sched_ext: Make task_can_run_on_remote_rq() use common task_allowed_on_cpu()")
Signed-off-by: Matthias Maennich <maennich@...gle.com>
---
 kernel/sched/sched.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index e2b7c5282f5d..a7832c53cc92 100644
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -44,6 +44,7 @@
 #include <linux/lockdep.h>
 #include <linux/minmax.h>
 #include <linux/mm.h>
+#include <linux/mmu_context.h>
 #include <linux/module.h>
 #include <linux/mutex_api.h>
 #include <linux/plist.h>
-- 
2.46.1.824.gd892dcdcdd-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ