page alloc wrapper: Fix get_pfnblock_flags_mask prototype
[lttng-modules.git] / lttng-context-user-ns.c
index 746e4d9d078259e67e23a704ec84a1d2d423d43e..ebf2a2da5fb836b1df616c348b5f5cdca4be0f71 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng-tracer.h>
 
 #if defined(CONFIG_USER_NS) && \
-       (LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0))
+       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
 
 static
 size_t user_ns_get_size(size_t offset)
@@ -82,7 +82,7 @@ int lttng_add_user_ns_to_ctx(struct lttng_ctx **ctx)
        field->record = user_ns_record;
        field->get_value = user_ns_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_user_ns_to_ctx);
This page took 0.023619 seconds and 4 git commands to generate.