Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
[lttng-modules.git] / instrumentation / events / lttng-module / 9p.h
index ab58bac8ee53e974a58855dd2a447ad456f59421..9885fe0aa3882ca78a2febc2156188dde4e71b78 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) */
+/* SPDX-License-Identifier: GPL-2.0 */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM 9p
 
@@ -6,9 +6,9 @@
 #define LTTNG_TRACE_9P_H
 
 #include <probes/lttng-tracepoint-event.h>
-#include <linux/version.h>
+#include <lttng-kernel-version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0))
 LTTNG_TRACEPOINT_EVENT(9p_client_req,
 
        TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
This page took 0.027122 seconds and 4 git commands to generate.