projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git]
/
wrapper
/
atomic.h
diff --git
a/wrapper/atomic.h
b/wrapper/atomic.h
index 51920c4a03fe673a36edb4c3b70d71e18614dcd8..cc7c64c502cca0bfd6e4172c347a9730a38e6bfb 100644
(file)
--- 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
*
*
* wrapper/atomic.h
*
@@
-11,11
+11,7
@@
#define _LTTNG_WRAPPER_ATOMIC_H
#include <linux/version.h>
#define _LTTNG_WRAPPER_ATOMIC_H
#include <linux/version.h>
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
#include <linux/atomic.h>
#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)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0))
static inline void lttng_smp_mb__before_atomic(void)
This page took
0.023783 seconds
and
4
git commands to generate.