Remove dependency on vmalloc_sync_all symbol
[lttng-modules.git] / ltt-ring-buffer-client.h
index e889c571a5e81f4faba1490c92950fd05074b55b..00cac1608a341c980a89939e230d88d5f6461a89 100644 (file)
@@ -10,7 +10,7 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
-#include <linux/vmalloc.h>     /* for vmalloc_sync_all */
+#include "wrapper/symbols.h"   /* for wrapper_vmalloc_sync_all() */
 #include "wrapper/trace-clock.h"
 #include "ltt-events.h"
 #include "ltt-tracer.h"
@@ -203,7 +203,7 @@ static int __init ltt_ring_buffer_client_init(void)
         * This vmalloc sync all also takes care of the lib ring buffer
         * vmalloc'd module pages when it is built as a module into LTTng.
         */
-       vmalloc_sync_all();
+       wrapper_vmalloc_sync_all();
        printk(KERN_INFO "LTT : ltt ring buffer client init\n");
        ltt_transport_register(&ltt_relay_transport);
        return 0;
This page took 0.023541 seconds and 4 git commands to generate.