Remove dependency on vmalloc_sync_all symbol
[lttng-modules.git] / probes / lttng-types.c
index a4b40cf720b604466b03794dbc5c93f0ddc90dbe..7f9d20e5fd64cad8c04f2206c688996a32c1daa4 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/seq_file.h>
 #include <linux/jbd.h> /* tid_t */
 #include <linux/debugfs.h>
-#include <linux/vmalloc.h>     /* for vmalloc_sync_all */
+#include "../wrapper/symbols.h"        /* for wrapper_vmalloc_sync_all() */
 #include "lttng-types.h"
 
 struct dentry *lttng_types_dentry;
@@ -186,7 +186,7 @@ static int lttng_types_init(void)
 {
        int ret = 0;
 
-       vmalloc_sync_all();
+       wrapper_vmalloc_sync_all();
        lttng_types_dentry = debugfs_create_file("lttng-types", S_IWUSR,
                                        NULL, NULL, &lttng_types_fops);
        if (IS_ERR(lttng_types_dentry) || !lttng_types_dentry) {
This page took 0.022894 seconds and 4 git commands to generate.