mirror of
https://github.com/dynup/kpatch
synced 2025-02-03 10:41:33 +00:00
livepatch-patch-hook: add RHEL immediate check
The 'immediate' flag removal is going to be backported to RHEL 7. Adjust the check accordingly. Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
This commit is contained in:
parent
ba5f3a9900
commit
a3ee369448
@ -49,7 +49,8 @@
|
|||||||
|
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) && \
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) && \
|
||||||
LINUX_VERSION_CODE <= KERNEL_VERSION(4, 15, 0)) || \
|
LINUX_VERSION_CODE <= KERNEL_VERSION(4, 15, 0)) || \
|
||||||
defined(RHEL_RELEASE_CODE)
|
(defined(RHEL_RELEASE_CODE) && \
|
||||||
|
RHEL_RELEASE_CODE <= RHEL_RELEASE_VERSION(7, 5))
|
||||||
#define HAVE_IMMEDIATE
|
#define HAVE_IMMEDIATE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user