From: Michael Jeanson Date: Thu, 8 Nov 2018 20:26:23 +0000 (-0500) Subject: Drop support for kernels < 3.0 from atomic.h wrapper X-Git-Tag: v2.12.0-pre~99 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=950ed24b44975b929576a926206a559c64b4867c Drop support for kernels < 3.0 from atomic.h wrapper Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/wrapper/atomic.h b/wrapper/atomic.h index 51920c4a..5ead8992 100644 --- a/wrapper/atomic.h +++ b/wrapper/atomic.h @@ -11,11 +11,7 @@ #define _LTTNG_WRAPPER_ATOMIC_H #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37)) #include -#else -#include -#endif #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) static inline void lttng_smp_mb__before_atomic(void)