Skip to content

Commit

Permalink
ARM64: Fix warning: "RHEL_RELEASE_CODE" is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
solardiz committed Sep 24, 2024
1 parent 4320c20 commit 7cfd143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/exploit_detection/p_exploit_detection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1651,8 +1651,8 @@ int p_ed_enforce_pcfi(struct task_struct *p_task, struct p_ed_process *p_orig, s
struct stack_frame p_frame;
#endif
#elif defined(CONFIG_ARM64)
# if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0)) \
|| (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,2))
# if LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0) || \
(defined(RHEL_RELEASE_CODE) && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,2))
struct unwind_state p_frame;
# else
struct stackframe p_frame;
Expand Down

0 comments on commit 7cfd143

Please sign in to comment.