summaryrefslogtreecommitdiff
path: root/system/easy-kernel/0502-muqss-smt-fix.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-19 18:29:03 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-02-19 18:29:03 +0000
commit1411626ad772db4bf523fd7304cec1b9ed90f950 (patch)
tree662d0ec5c403e3edcb5d1646d33cc28fd24b1142 /system/easy-kernel/0502-muqss-smt-fix.patch
parentdd2fc077ca591837dd7e2ccadb171449208ef447 (diff)
downloadpackages-1411626ad772db4bf523fd7304cec1b9ed90f950.tar.gz
packages-1411626ad772db4bf523fd7304cec1b9ed90f950.tar.bz2
packages-1411626ad772db4bf523fd7304cec1b9ed90f950.tar.xz
packages-1411626ad772db4bf523fd7304cec1b9ed90f950.zip
system/easy-kernel: fix MuQSS and config on x86*
Diffstat (limited to 'system/easy-kernel/0502-muqss-smt-fix.patch')
-rw-r--r--system/easy-kernel/0502-muqss-smt-fix.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/easy-kernel/0502-muqss-smt-fix.patch b/system/easy-kernel/0502-muqss-smt-fix.patch
new file mode 100644
index 000000000..090b176a4
--- /dev/null
+++ b/system/easy-kernel/0502-muqss-smt-fix.patch
@@ -0,0 +1,14 @@
+diff -Naur --no-dereference linux-4.14-mc13/kernel/sched/MuQSS.c linux-4.14-muqss-resync/kernel/sched/MuQSS.c
+--- linux-4.14-mc13/kernel/sched/MuQSS.c 2018-12-17 13:58:41.877371296 +1100
++++ linux-4.14-muqss-resync/kernel/sched/MuQSS.c 2018-12-27 21:35:04.897927669 +1100
+@@ -188,6 +188,10 @@
+ struct rq *uprq;
+ #endif /* CONFIG_SMP */
+
++#ifdef CONFIG_SCHED_SMT /* This fixes a regression as of 4.14.84 and 4.19.7 which breaks the kernel build if either SMP or MuQSS is enabled */
++DEFINE_STATIC_KEY_FALSE(sched_smt_present);
++#endif
++
+ #include "stats.h"
+
+ #ifndef prepare_arch_switch