Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / wrapper / atomic.h
index 51920c4a03fe673a36edb4c3b70d71e18614dcd8..cc7c64c502cca0bfd6e4172c347a9730a38e6bfb 100644 (file)
@@ -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
  *
 #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.025673 seconds and 4 git commands to generate.