Merge pull request #860 from jpoimboe/rhel-immediate

livepatch-patch-hook: add RHEL immediate check
This commit is contained in:
Joe Lawrence 2018-05-30 11:37:53 -04:00 committed by GitHub
commit c2f6d4d0fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,8 @@
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 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
#endif