Merge pull request #1392 from ryanbsull/x86-paravirt-fix

kpatch-build: handle paravirt absence in Linux v6.8+
This commit is contained in:
Joe Lawrence 2024-05-14 22:20:46 -04:00 committed by GitHub
commit b75d4c4449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ find_special_section_data() {
"x86_64") "x86_64")
check[a]=true # alt_instr check[a]=true # alt_instr
kernel_version_gte 5.10.0 && check[s]=true # static_call_site kernel_version_gte 5.10.0 && check[s]=true # static_call_site
[[ -n "$CONFIG_PARAVIRT" ]] && check[p]=true # paravirt_patch_site [[ -n "$CONFIG_PARAVIRT" ]] && ! kernel_version_gte 6.8.0 && check[p]=true # paravirt_patch_site
;; ;;
"ppc64le") "ppc64le")
check[f]=true # fixup_entry check[f]=true # fixup_entry