aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-06-29 15:36:49 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2022-06-29 15:36:49 +0200
commit3d3c92b4711b42169137b2ddf42ed4382e2babdf (patch)
treed3c3abbc58fe944222d993777a7f31ec05960e4e /src/compat
parentcompat: do not backport ktime_get_coarse_boottime_ns to c8s (diff)
downloadwireguard-linux-compat-master.tar.xz
wireguard-linux-compat-master.zip
compat: drop CentOS 8 Stream supportHEADmaster
Nobody uses this and it's impossible to maintain given the current CI situation. RHEL 7 and 8 release remain for now, though that might not always be the case. See the link for details. Link: https://lists.zx2c4.com/pipermail/wireguard/2022-June/007664.html Suggested-by: Philip J. Perry <phil@elrepo.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-rw-r--r--src/compat/compat-asm.h3
-rw-r--r--src/compat/compat.h5
2 files changed, 1 insertions, 7 deletions
diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h
index 951fc10..345087b 100644
--- a/src/compat/compat-asm.h
+++ b/src/compat/compat-asm.h
@@ -15,9 +15,6 @@
#define ISRHEL7
#elif RHEL_MAJOR == 8
#define ISRHEL8
-#if RHEL_MINOR >= 6
-#define ISCENTOS8S
-#endif
#endif
#endif
diff --git a/src/compat/compat.h b/src/compat/compat.h
index aebeabf..69dada8 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -16,9 +16,6 @@
#define ISRHEL7
#elif RHEL_MAJOR == 8
#define ISRHEL8
-#if RHEL_MINOR >= 7
-#define ISCENTOS8S
-#endif
#endif
#endif
#ifdef UTS_UBUNTU_RELEASE_ABI
@@ -390,7 +387,7 @@ static inline int get_random_bytes_wait(void *buf, int nbytes)
#define system_power_efficient_wq system_unbound_wq
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) && !defined(ISCENTOS8S)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0)
#include <linux/ktime.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
#include <linux/hrtimer.h>