diff options
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts-legacy/files/4.19-0015-unfuck-MuQSS-on-linux-4_19_10+.patch')
-rw-r--r-- | sys-kernel/linux-sources-redcore-lts-legacy/files/4.19-0015-unfuck-MuQSS-on-linux-4_19_10+.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts-legacy/files/4.19-0015-unfuck-MuQSS-on-linux-4_19_10+.patch b/sys-kernel/linux-sources-redcore-lts-legacy/files/4.19-0015-unfuck-MuQSS-on-linux-4_19_10+.patch new file mode 100644 index 00000000..fbff2e6e --- /dev/null +++ b/sys-kernel/linux-sources-redcore-lts-legacy/files/4.19-0015-unfuck-MuQSS-on-linux-4_19_10+.patch @@ -0,0 +1,14 @@ +diff -Nur a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c +--- a/kernel/sched/MuQSS.c 2019-02-09 19:46:07.899912055 +0000 ++++ b/kernel/sched/MuQSS.c 2019-02-09 19:48:03.743622465 +0000 +@@ -1011,6 +1011,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 |