diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-05 23:10:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-05 23:10:09 +0000 |
commit | e1c0c16a6788697ae5b9ae2805e9ba0bcd96800b (patch) | |
tree | 5a23cedb3a466ecd84d7ee0cd1224d9e5db8c4d8 /sys-kernel/linux-sources-redcore-lts/files | |
parent | 5a86e6c1088164717ba4ee15bd1a1c10783e6f65 (diff) |
sys-kernel/linux-{image,sources}-redcore-lts : fix MuQSS build failure caused by upstream SMT changes
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files')
-rw-r--r-- | sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/0017-unfuck-MuQSS-on-linux-4_14_75+.patch b/sys-kernel/linux-sources-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-sources-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 |