X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fatomic.h;h=cc7c64c502cca0bfd6e4172c347a9730a38e6bfb;hb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;hp=51920c4a03fe673a36edb4c3b70d71e18614dcd8;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/wrapper/atomic.h b/wrapper/atomic.h index 51920c4a..cc7c64c5 100644 --- a/wrapper/atomic.h +++ b/wrapper/atomic.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) +/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) * * 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)