From 9e71cce836a806c7ef08e212ef9ecb05d818f0fd Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 25 Jun 2019 16:46:50 +0200 Subject: compat: rhel backported list modifications --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index 19f51a9..7fee52d 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -753,7 +753,7 @@ static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2, #define read_cpuid_part() read_cpuid_part_number() #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) && !defined(ISRHEL7) #define hlist_add_behind(a, b) hlist_add_after(b, a) #endif -- cgit v1.2.3-59-g8ed1b