mirror of https://github.com/dynup/kpatch
Merge pull request #1392 from ryanbsull/x86-paravirt-fix
kpatch-build: handle paravirt absence in Linux v6.8+
This commit is contained in:
commit
b75d4c4449
|
@ -358,7 +358,7 @@ find_special_section_data() {
|
|||
"x86_64")
|
||||
check[a]=true # alt_instr
|
||||
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")
|
||||
check[f]=true # fixup_entry
|
||||
|
|
Loading…
Reference in New Issue