Rename "tsc" to "timestamp"
[lttng-modules.git] / src / lttng-context-user-ns.c
index ab9afa4edade5c9fe47cfb52cb3cfc37e81e7385..f7ee3f913234c9ecc7de246488e5b385e4317182 100644 (file)
@@ -9,6 +9,8 @@
  *
  */
 
+#ifdef CONFIG_USER_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_USER_NS) && \
-       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
-
 static
 size_t user_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
 {
This page took 0.023465 seconds and 4 git commands to generate.