diff options
Diffstat (limited to 'sys-kernel/linux-sources-redcore-lts/files/4.14-0016-unfuck-MuQSS-on-linux-4_14_15+.patch')
-rw-r--r-- | sys-kernel/linux-sources-redcore-lts/files/4.14-0016-unfuck-MuQSS-on-linux-4_14_15+.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/sys-kernel/linux-sources-redcore-lts/files/4.14-0016-unfuck-MuQSS-on-linux-4_14_15+.patch b/sys-kernel/linux-sources-redcore-lts/files/4.14-0016-unfuck-MuQSS-on-linux-4_14_15+.patch deleted file mode 100644 index f7dc1d1c..00000000 --- a/sys-kernel/linux-sources-redcore-lts/files/4.14-0016-unfuck-MuQSS-on-linux-4_14_15+.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff --git a/kernel/sched/MuQSS.c b/kernel/sched/MuQSS.c -index e84d700709ff6..b0be7fcfe41f9 100644 ---- a/kernel/sched/MuQSS.c -+++ b/kernel/sched/MuQSS.c -@@ -55,6 +55,7 @@ - #include <linux/security.h> - #include <linux/syscalls.h> - #include <linux/tick.h> -+#include <linux/version.h> - - #include <asm/switch_to.h> - #include <asm/tlb.h> -@@ -1959,7 +1960,11 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) - p->state = TASK_WAKING; - - if (p->in_iowait) { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 15) - delayacct_blkio_end(); -+#else -+ delayacct_blkio_end(p); -+#endif - atomic_dec(&task_rq(p)->nr_iowait); - } - -@@ -1970,7 +1975,11 @@ try_to_wake_up(struct task_struct *p, unsigned int state, int wake_flags) - #else /* CONFIG_SMP */ - - if (p->in_iowait) { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 15) - delayacct_blkio_end(); -+#else -+ delayacct_blkio_end(p); -+#endif - atomic_dec(&task_rq(p)->nr_iowait); - } - -@@ -2022,7 +2031,11 @@ static void try_to_wake_up_local(struct task_struct *p) - - if (!task_on_rq_queued(p)) { - if (p->in_iowait) { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 15) - delayacct_blkio_end(); -+#else -+ delayacct_blkio_end(p); -+#endif - atomic_dec(&rq->nr_iowait); - } - ttwu_activate(rq, p); |