diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-02-19 18:29:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-02-19 18:29:03 +0000 |
commit | 1411626ad772db4bf523fd7304cec1b9ed90f950 (patch) | |
tree | 662d0ec5c403e3edcb5d1646d33cc28fd24b1142 /system/easy-kernel/0502-muqss-smt-fix.patch | |
parent | dd2fc077ca591837dd7e2ccadb171449208ef447 (diff) | |
download | packages-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.patch | 14 |
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 |