summaryrefslogtreecommitdiffhomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-06-25 16:46:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-06-25 16:46:50 +0200
commit67342d25fb4c7432c91f8e9299c778011970c1e2 (patch)
tree11db72fcb130b35caa78620a2f9a71a3a1c6f1da /src/compat
parent868bdd798190a689ddebf1fff7c41509e73c7cc0 (diff)
compat: rhel backported list modifications
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat.h2
1 files changed, 1 insertions, 1 deletions
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