Drop support for kernels < 3.0 from atomic.h wrapper
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 8 Nov 2018 20:26:23 +0000 (15:26 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 8 Nov 2018 23:49:49 +0000 (18:49 -0500)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/atomic.h

index 51920c4a03fe673a36edb4c3b70d71e18614dcd8..5ead89921924cd428bd19ef1339e79295c23372f 100644 (file)
 #define _LTTNG_WRAPPER_ATOMIC_H
 
 #include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
 #include <linux/atomic.h>
-#else
-#include <asm/atomic.h>
-#endif
 
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
 static inline void lttng_smp_mb__before_atomic(void)
This page took 0.027044 seconds and 4 git commands to generate.