Allow mm-Support-soft-dirty-flag patches on all kernels as long as the patches are available.
Effectively allows 5.11 and up, while it was bound to 5.11 and 5.12 before. Also fix the first patch on 5.14, thanks to @Tatsh - Fixes https://github.com/Frogging-Family/linux-tkg/issues/298
This commit is contained in:
@@ -420,11 +420,9 @@ _tkg_srcprep() {
|
||||
_msg="Applying misc additions patch" && _tkg_patcher
|
||||
fi
|
||||
|
||||
if [ "$_basever" = "511" ] || [ "$_basever" = "512" ]; then
|
||||
_msg="Applying patches for WRITE_WATCH support in Wine"
|
||||
tkgpatch="$srcdir/0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch" && _tkg_patcher
|
||||
tkgpatch="$srcdir/0002-mm-Support-soft-dirty-flag-read-with-reset.patch" && _tkg_patcher
|
||||
fi
|
||||
_msg="Applying patches for WRITE_WATCH support in Wine"
|
||||
tkgpatch="$srcdir/0001-mm-Support-soft-dirty-flag-reset-for-VA-range.patch" && _tkg_patcher
|
||||
tkgpatch="$srcdir/0002-mm-Support-soft-dirty-flag-read-with-reset.patch" && _tkg_patcher
|
||||
|
||||
# prjc/bmq patch rev
|
||||
if [ "$_basever" = "58" ] || [ "$_basever" = "57" ]; then
|
||||
|
Reference in New Issue
Block a user