From 3d2b09d9840c23c3fdd6ac1633697ce9a0506eea Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Tue, 10 Jan 2023 14:01:59 +0100 Subject: [PATCH] Apply glitched-cfs patch to all the CFS schedulers I'm pretty sure we used to do that. Oh, well. Fixes https://github.com/Frogging-Family/linux-tkg/issues/687 --- linux-tkg-config/prepare | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/linux-tkg-config/prepare b/linux-tkg-config/prepare index 15939bd..2f4ce98 100644 --- a/linux-tkg-config/prepare +++ b/linux-tkg-config/prepare @@ -840,12 +840,15 @@ _tkg_srcprep() { tkgpatch="$srcdir/0001-bore.patch" && _tkg_patcher fi elif [ "${_cpusched}" = "cfs" ]; then - _msg="Applying Glitched CFS patch" - tkgpatch="$srcdir/0003-glitched-cfs.patch" && _tkg_patcher _msg="Applying Glitched CFS additions patch" tkgpatch="$srcdir/0003-glitched-cfs-additions.patch" && _tkg_patcher fi + if [ "${_cpusched}" = "cfs" ] || [ "${_cpusched}" = "cacule" ] || [ "${_cpusched}" = "tt" ] || [ "${_cpusched}" = "bore" ]; then + _msg="Applying Glitched CFS patch" + tkgpatch="$srcdir/0003-glitched-cfs.patch" && _tkg_patcher + fi + fi if [ -z "${_configfile}" ]; then