From 3760e0e1bd1f05a4e5bcb0d1c91dfe40595e4d15 Mon Sep 17 00:00:00 2001 From: Solar Designer Date: Wed, 8 Nov 2023 19:50:58 +0100 Subject: [PATCH] Fix support for RHEL 9.0 This was very briefly broken with the previous commit --- .../p_arch_jump_label_transform_apply.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.h b/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.h index f7604f39..ed5bd7ef 100644 --- a/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.h +++ b/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.h @@ -63,8 +63,8 @@ defined(P_LKRG_KERNEL_RHEL_VAR_LEN_JUMP_LABEL) #if !P_LKRG_KERNEL_HAS_VAR_LEN_JUMP_LABEL || \ (defined(P_LKRG_KERNEL_RHEL_VAR_LEN_JUMP_LABEL) && \ - RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(9,1) && \ - RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8,8)) + (RHEL_RELEASE_CODE == RHEL_RELEASE_VERSION(9,0) || \ + RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(8,8))) typedef struct _p_text_poke_loc { s32 rel_addr; /* addr := _stext + rel_addr */ s32 rel32;