projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: 'struct timex' removed upstream (v5.6)
[lttng-modules.git]
/
wrapper
/
atomic.h
diff --git
a/wrapper/atomic.h
b/wrapper/atomic.h
index 6a3cd076b28bb05e7695bb9aef1c205c387cdda3..f3a3dabf2612caeb3dfe93efa93e2849254376d2 100644
(file)
--- a/
wrapper/atomic.h
+++ b/
wrapper/atomic.h
@@
-24,7
+24,11
@@
*/
#include <linux/version.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.023095 seconds
and
4
git commands to generate.