mirror of https://github.com/dynup/kpatch
36ba2b8dfc
Upstream kernel commit f7af6977621a ("x86/paravirt: Remove no longer needed paravirt patching code") v6.8+ removed the .parainstructions section and its paravirt_patch_site struct. Therefore this checks the kernel version and does not export the struct size if the kernel version is >= v6.8.0, avoiding the code path for it in create-diff-object.c entirely. Fixes: https://github.com/dynup/kpatch/issues/1380 Signed-off-by: Ryan Sullivan <rysulliv@redhat.com> |
||
---|---|---|
.. | ||
gcc-plugins | ||
insn | ||
Makefile | ||
create-diff-object.c | ||
create-klp-module.c | ||
create-kpatch-module.c | ||
kpatch-build | ||
kpatch-cc | ||
kpatch-elf.c | ||
kpatch-elf.h | ||
kpatch-intermediate.h | ||
kpatch.h | ||
list.h | ||
log.h | ||
lookup.c | ||
lookup.h |