projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prefix lttng_enum_value and lttng_enum_entry with lttng_kernel_
[lttng-modules.git]
/
include
/
wrapper
/
percpu-defs.h
diff --git
a/include/wrapper/percpu-defs.h
b/include/wrapper/percpu-defs.h
index fff8b1df28625a46355c9a626928a54826161a17..7a050cc0540f2e25817dc9fe7d2aa82e21742724 100644
(file)
--- a/
include/wrapper/percpu-defs.h
+++ b/
include/wrapper/percpu-defs.h
@@
-10,20
+10,20
@@
#ifndef _LTTNG_WRAPPER_PERCPU_DEFS_H
#define _LTTNG_WRAPPER_PERCPU_DEFS_H
#ifndef _LTTNG_WRAPPER_PERCPU_DEFS_H
#define _LTTNG_WRAPPER_PERCPU_DEFS_H
-#include <l
inux/
version.h>
+#include <l
ttng/kernel-
version.h>
-#if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0)
+#if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0)
#include <linux/percpu-defs.h>
#define lttng_this_cpu_ptr(ptr) this_cpu_ptr(ptr)
#include <linux/percpu-defs.h>
#define lttng_this_cpu_ptr(ptr) this_cpu_ptr(ptr)
-#else /* #if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0) */
+#else /* #if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0) */
#include <linux/percpu.h>
#define lttng_this_cpu_ptr(ptr) (&__get_cpu_var(*(ptr)))
#include <linux/percpu.h>
#define lttng_this_cpu_ptr(ptr) (&__get_cpu_var(*(ptr)))
-#endif /* #else #if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0) */
+#endif /* #else #if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0) */
#endif /* _LTTNG_WRAPPER_PERCPU_DEFS_H */
#endif /* _LTTNG_WRAPPER_PERCPU_DEFS_H */
This page took
0.024937 seconds
and
4
git commands to generate.