projects
/
lttng-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2fca6
)
Drop support for kernels < 3.0 from atomic.h wrapper
author
Michael Jeanson
<mjeanson@efficios.com>
Thu, 8 Nov 2018 20:26:23 +0000
(15:26 -0500)
committer
Mathieu 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
patch
|
blob
|
blame
|
history
diff --git
a/wrapper/atomic.h
b/wrapper/atomic.h
index 51920c4a03fe673a36edb4c3b70d71e18614dcd8..5ead89921924cd428bd19ef1339e79295c23372f 100644
(file)
--- a/
wrapper/atomic.h
+++ b/
wrapper/atomic.h
@@
-11,11
+11,7
@@
#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.