Remove dependency on vmalloc_sync_all symbol
[lttng-modules.git] / ltt-debugfs-abi.c
index 2f200ed143e73ae2bad5e364d5c98023f8f72a25..4319ef3fbac635f38279f8b21d86ce2c167b1680 100644 (file)
@@ -28,7 +28,7 @@
 #include <linux/file.h>
 #include <linux/uaccess.h>
 #include <linux/slab.h>
-#include <linux/vmalloc.h>     /* For vmalloc_sync_all */
+#include "wrapper/symbols.h"   /* for wrapper_vmalloc_sync_all() */
 #include "wrapper/ringbuffer/vfs.h"
 #include "ltt-debugfs-abi.h"
 #include "ltt-events.h"
@@ -538,7 +538,7 @@ int __init ltt_debugfs_abi_init(void)
 {
        int ret = 0;
 
-       vmalloc_sync_all();
+       wrapper_vmalloc_sync_all();
        lttng_dentry = debugfs_create_file("lttng", S_IWUSR, NULL, NULL,
                                           &lttng_fops);
        if (IS_ERR(lttng_dentry) || !lttng_dentry) {
This page took 0.022619 seconds and 4 git commands to generate.