summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-image-redcore-lts
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-01-05 23:10:09 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-01-05 23:10:09 +0000
commite1c0c16a6788697ae5b9ae2805e9ba0bcd96800b (patch)
tree5a23cedb3a466ecd84d7ee0cd1224d9e5db8c4d8 /sys-kernel/linux-image-redcore-lts
parent5a86e6c1088164717ba4ee15bd1a1c10783e6f65 (diff)
sys-kernel/linux-{image,sources}-redcore-lts : fix MuQSS build failure caused by upstream SMT changes
Diffstat (limited to 'sys-kernel/linux-image-redcore-lts')
-rw-r--r--sys-kernel/linux-image-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch14
-rw-r--r--sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.90.ebuild1
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-kernel/linux-image-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch b/sys-kernel/linux-image-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch
new file mode 100644
index 00000000..1a1717bf
--- /dev/null
+++ b/sys-kernel/linux-image-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch
@@ -0,0 +1,14 @@
+diff -Nur a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c
+--- a/kernel/sched/MuQSS.c 2019-01-05 22:51:24.547448624 +0000
++++ b/kernel/sched/MuQSS.c 2019-01-05 22:58:29.821451056 +0000
+@@ -1021,6 +1021,10 @@
+ #define CPUIDLE_THREAD_BUSY (16)
+ #define CPUIDLE_DIFF_NODE (32)
+
++#ifdef CONFIG_SCHED_SMT
++DEFINE_STATIC_KEY_FALSE(sched_smt_present);
++#endif
++
+ /*
+ * The best idle CPU is chosen according to the CPUIDLE ranking above where the
+ * lowest value would give the most suitable CPU to schedule p onto next. The
diff --git a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.90.ebuild b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.90.ebuild
index dd28a93c..e3ff2748 100644
--- a/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.90.ebuild
+++ b/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.90.ebuild
@@ -55,6 +55,7 @@ PATCHES=( "${FILESDIR}"/introduce-NUMA-identity-node-sched-domain.patch
"${FILESDIR}"/0014-Swap-sucks.patch
"${FILESDIR}"/0015-MuQSS.c-needs-irq_regs.h-to-use-get_irq_regs.patch
"${FILESDIR}"/0016-unfuck-MuQSS-on-linux-4_14_15+.patch
+ "${FILESDIR}"/0017-unfuck-MuQSS-on-linux-4_14_75+.patch
"${FILESDIR}"/0001-BFQ-v8r12-20171108.patch
"${FILESDIR}"/0002-BFQ-v8r12-20180404.patch )