projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add script to automate the syscall extraction process
[lttng-modules.git]
/
wrapper
/
atomic.h
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>
#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.022606 seconds
and
4
git commands to generate.