File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -757,7 +757,17 @@ runs:
757757 patch -p1 -F 3 < "../../../kernel_patches/oneplus/hmbird/fengchi_${OP_MODEL}_${OP_OS_VERSION}.patch"
758758 else
759759 echo "Hmbird not enabled, skipping fengchi patch"
760- fi
760+ fi
761+
762+ patch -p1 --forward "../../../kernel_patches/common/optimized_mem_operations.patch"
763+ patch -p1 --forward "../../../kernel_patches/common/file_struct_8bytes_align.patch"
764+ patch -p1 --forward "../../../kernel_patches/common/reduce_cache_pressure.patch"
765+ if [ "$(printf '%s\n' "$KERNEL_VERSION" "$MIN_VERSION" | sort -V | head -n1)" = "$KERNEL_VERSION" ]; then
766+ patch -p1 --forward "../../../kernel_patches/common/clear_page_16bytes_align.patch"
767+ else
768+ cat "../../../kernel_patches/common/clear_page_16bytes_align.patch" | sed -e 's/SYM_FUNC_START_PI(clear_page)/SYM_FUNC_START_PI(__pi_clear_page)/' | patch -p1 -F3 --forward
769+ fi
770+
761771 echo "✅ Other patches applied"
762772 echo "::endgroup::"
763773
You can’t perform that action at this time.
0 commit comments