瀏覽代碼

Refactor revert logic for Android 15 6.6 Fake Patches in action.yml

TheWildJames 3 月之前
父節點
當前提交
892201659f
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      .github/actions/susfs/action.yml

+ 1 - 6
.github/actions/susfs/action.yml

@@ -248,16 +248,11 @@ runs:
       working-directory: ${{ github.workspace }}/kernel/common
       run: |
         echo "Reverting 6.6 Fake Patches"
-        if [ "${{ inputs.sublevel }}" -le "58" ]; then
-          echo "Reverting task_mmu.c Android 15 6.6 Fake Patch"
-          sed -i '/unsigned int nr_subpages.*__PAGE_SIZE.*PAGE_SIZE/d' fs/proc/task_mmu.c
-          sed -i '/pagemap_entry_t.*res.*NULL/d' fs/proc/task_mmu.c
-        fi
         if [ "${{ inputs.sublevel }}" -le "92" ]; then
           echo "Reverting base.c Android 15 6.6 Fake Patch"
           sed -i '/^#include <linux\/dma-buf.h>$/d' fs/proc/base.c
         fi
-        if [ "${{ inputs.sublevel }}" -ge "57" ]; then
+        if [ "${{ inputs.sublevel }}" -le "57" ]; then
           echo "Reverting memory.c Android 15 6.6 Fake Patch"
           sed -i '/^#include <linux\/zswap.h>$/d' mm/memory.c
         fi