From: "Matthias Männich" <maennich@google.com>
To: linux-kernel@vger.kernel.org, tj@kernel.org
Cc: kernel-team@android.com, maennich@google.com,
peterz@infradead.org, void@manifault.com
Subject: [PATCH] sched: fix include for task_cpu_possible
Date: Mon, 30 Sep 2024 16:44:56 +0000 [thread overview]
Message-ID: <20240930164455.2060692-2-maennich@google.com> (raw)
From: Matthias Maennich <maennich@google.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@google.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
next reply other threads:[~2024-09-30 16:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 16:44 Matthias Männich [this message]
2024-09-30 17:02 ` [PATCH] sched: fix include for task_cpu_possible Tejun Heo
2024-09-30 23:48 ` Matthias Männich
2024-10-01 19:46 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240930164455.2060692-2-maennich@google.com \
--to=maennich@google.com \
--cc=kernel-team@android.com \
--cc=linux-kernel@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=tj@kernel.org \
--cc=void@manifault.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.