projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace kernel version macros
[lttng-modules.git]
/
include
/
wrapper
/
barrier.h
diff --git
a/include/wrapper/barrier.h
b/include/wrapper/barrier.h
index 26330d39eebd80f9b7813731c27650c24cca1350..9d47ad7e5fa1939be5272a9c003b02536723cc00 100644
(file)
--- a/
include/wrapper/barrier.h
+++ b/
include/wrapper/barrier.h
@@
-10,14
+10,14
@@
#ifndef _LTTNG_WRAPPER_BARRIER_H
#define _LTTNG_WRAPPER_BARRIER_H
#ifndef _LTTNG_WRAPPER_BARRIER_H
#define _LTTNG_WRAPPER_BARRIER_H
-#include <l
inux/
version.h>
-#if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,4,0)
+#include <l
ttng/kernel-
version.h>
+#if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,4,0)
#include <asm/barrier.h>
#else
#include <asm/system.h>
#endif
#include <asm/barrier.h>
#else
#include <asm/system.h>
#endif
-#if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,14,0)
+#if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,14,0)
#define lttng_smp_store_release(x, v) smp_store_release(x, v)
#define lttng_smp_load_acquire(x) smp_load_acquire(x)
#define lttng_smp_store_release(x, v) smp_store_release(x, v)
#define lttng_smp_load_acquire(x) smp_load_acquire(x)
This page took
0.023983 seconds
and
4
git commands to generate.