projects
/
deliverable
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: asm/barrier.h was introduced in v3.4
[deliverable/lttng-modules.git]
/
include
/
wrapper
/
barrier.h
diff --git
a/include/wrapper/barrier.h
b/include/wrapper/barrier.h
index c2f0545b4bc93ded40047c770ca99543cd8d2bc6..26330d39eebd80f9b7813731c27650c24cca1350 100644
(file)
--- a/
include/wrapper/barrier.h
+++ b/
include/wrapper/barrier.h
@@
-11,7
+11,11
@@
#define _LTTNG_WRAPPER_BARRIER_H
#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,4,0)
#include <asm/barrier.h>
+#else
+#include <asm/system.h>
+#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,14,0)
This page took
0.024275 seconds
and
5
git commands to generate.