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]
/
wrapper
/
file.h
diff --git
a/wrapper/file.h
b/wrapper/file.h
index 37c8c9ba3518175afa53110ad303bcf2e8448728..0454753812ccc1e1c72aa0ac2812b1793bd7cb9b 100644
(file)
--- a/
wrapper/file.h
+++ b/
wrapper/file.h
@@
-23,10
+23,10
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <l
inux/
version.h>
+#include <l
ttng-kernel-
version.h>
#include <linux/file.h>
#include <linux/file.h>
-#if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0)
+#if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0)
static
inline int lttng_get_unused_fd(void)
static
inline int lttng_get_unused_fd(void)
@@
-36,7
+36,7
@@
inline int lttng_get_unused_fd(void)
#define lttng_f_dentry f_path.dentry
#define lttng_f_dentry f_path.dentry
-#else /* #if L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0) */
+#else /* #if L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0) */
static
inline int lttng_get_unused_fd(void)
static
inline int lttng_get_unused_fd(void)
@@
-46,6
+46,6
@@
inline int lttng_get_unused_fd(void)
#define lttng_f_dentry f_dentry
#define lttng_f_dentry f_dentry
-#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_FILE_H */
#endif /* _LTTNG_WRAPPER_FILE_H */
This page took
0.037949 seconds
and
4
git commands to generate.