Drop support for kernels < 4.4 from ns contexts
[lttng-modules.git] / src / lttng-context-ipc-ns.c
index e6d662bbc146c2dec7ba45024022f487c1800b2e..28108a0f543d6fab46e806c7d57ef20003e49760 100644 (file)
@@ -9,6 +9,8 @@
  *
  */
 
+#ifdef CONFIG_IPC_NS
+
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
@@ -19,9 +21,6 @@
 #include <wrapper/vmalloc.h>
 #include <lttng/tracer.h>
 
-#if defined(CONFIG_IPC_NS) && \
-       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
-
 static
 size_t ipc_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
 {
This page took 0.023583 seconds and 4 git commands to generate.