We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4799a8 commit 237bc53Copy full SHA for 237bc53
kpatch-build/kpatch-build
@@ -373,6 +373,14 @@ clang_version_check() {
373
return
374
}
375
376
+check_paravirt() {
377
+ if kernel_is_rhel; then
378
+ ! rhel_kernel_version_gte 5.14.0-582.el9
379
+ else
380
+ ! kernel_version_gte 6.8.0
381
+ fi
382
+}
383
+
384
find_special_section_data() {
385
local -A check
386
@@ -385,7 +393,7 @@ find_special_section_data() {
393
"x86_64")
394
check[a]=true # alt_instr
387
395
kernel_version_gte 5.10.0 && check[s]=true # static_call_site
388
- [[ -n "$CONFIG_PARAVIRT" ]] && ! kernel_version_gte 6.8.0 && check[p]=true # paravirt_patch_site
396
+ [[ -n "$CONFIG_PARAVIRT" ]] && check_paravirt && check[p]=true # paravirt_patch_site
389
397
;;
390
398
"ppc64le")
391
399
check[f]=true # fixup_entry
0 commit comments