From: "Mike Pagano" <mpagano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/linux-patches:6.15 commit in: /
Date: Tue, 24 Jun 2025 17:42:48 +0000 (UTC) [thread overview]
Message-ID: <1750786935.2c2f45c6a8efe7de6077d4079ac0dcab67063ba4.mpagano@gentoo> (raw)
commit: 2c2f45c6a8efe7de6077d4079ac0dcab67063ba4
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 24 17:42:15 2025 +0000
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Tue Jun 24 17:42:15 2025 +0000
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=2c2f45c6
alt/sched: Fix build error when CONFIG_PREEMPT_DYNAMIC is unset
Bug: https://bugs.gentoo.org/958623
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
0000_README | 4 ++++
5022_BMQ-CONFIG-PREEMPT-DYNAMIC-unset-fix.patch | 27 +++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/0000_README b/0000_README
index e54206b2..2eed9e1f 100644
--- a/0000_README
+++ b/0000_README
@@ -97,3 +97,7 @@ Desc: BMQ(BitMap Queue) Scheduler. A new CPU scheduler developed from PDS(incl
Patch: 5021_BMQ-and-PDS-gentoo-defaults.patch
From: https://gitweb.gentoo.org/proj/linux-patches.git/
Desc: Set defaults for BMQ. Add archs as people test, default to N
+
+Patch: 5022_BMQ-CONFIG-PREEMPT-DYNAMIC-unset-fix.patch
+From: https://gitlab.com/alfredchen/linux-prjc/-/commit/9c1e782466888962387717b6dc5dba7248d8fa15.patch
+Desc: alt/sched: Fix build error when CONFIG_PREEMPT_DYNAMIC is unset
diff --git a/5022_BMQ-CONFIG-PREEMPT-DYNAMIC-unset-fix.patch b/5022_BMQ-CONFIG-PREEMPT-DYNAMIC-unset-fix.patch
new file mode 100644
index 00000000..d7bafa2d
--- /dev/null
+++ b/5022_BMQ-CONFIG-PREEMPT-DYNAMIC-unset-fix.patch
@@ -0,0 +1,27 @@
+From 9c1e782466888962387717b6dc5dba7248d8fa15 Mon Sep 17 00:00:00 2001
+From: Alfred Chen <cchalpha@gmail.com>
+Date: Tue, 27 May 2025 14:12:11 +0800
+Subject: [PATCH] alt/sched: Fix build error when CONFIG_PREEMPT_DYNAMIC is
+ unset
+
+Pick up missing mainline code for !109.
+---
+ kernel/sched/alt_core.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/kernel/sched/alt_core.c b/kernel/sched/alt_core.c
+index 0afd3670e9bb..e4d43e14beb5 100644
+--- a/kernel/sched/alt_core.c
++++ b/kernel/sched/alt_core.c
+@@ -5604,6 +5604,8 @@ PREEMPT_MODEL_ACCESSOR(lazy);
+
+ #else /* !CONFIG_PREEMPT_DYNAMIC: */
+
++#define preempt_dynamic_mode -1
++
+ static inline void preempt_dynamic_init(void) { }
+
+ #endif /* CONFIG_PREEMPT_DYNAMIC */
+--
+GitLab
+
next reply other threads:[~2025-06-24 17:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-24 17:42 Mike Pagano [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-08-21 4:00 [gentoo-commits] proj/linux-patches:6.15 commit in: / Arisu Tachibana
2025-08-21 1:10 Arisu Tachibana
2025-08-16 3:10 Arisu Tachibana
2025-08-04 5:58 Arisu Tachibana
2025-08-01 10:30 Arisu Tachibana
2025-07-24 9:17 Arisu Tachibana
2025-07-18 12:05 Arisu Tachibana
2025-07-11 2:26 Arisu Tachibana
2025-07-06 13:42 Arisu Tachibana
2025-06-27 11:17 Mike Pagano
2025-06-19 14:21 Mike Pagano
2025-06-10 12:24 Mike Pagano
2025-06-10 12:14 Mike Pagano
2025-06-05 19:13 Mike Pagano
2025-06-04 18:07 Mike Pagano
2025-06-01 21:41 Mike Pagano
2025-05-27 19:29 Mike Pagano
2025-05-26 10:21 Mike Pagano
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=1750786935.2c2f45c6a8efe7de6077d4079ac0dcab67063ba4.mpagano@gentoo \
--to=mpagano@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox