Cleanup: Move headers from toplevel to include/lttng/
[lttng-modules.git] / wrapper / page_alloc.c
index baa8603f2898bc58de87393fad666f8d4ce0dace..93504c993883244cb692ab192abef040148737d6 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
  * wrapper/page_alloc.c
  *
  * wrapper around get_pfnblock_flags_mask and Ubuntu
@@ -9,7 +9,7 @@
  * Copyright (C) 2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  */
 
-#include <lttng-kernel-version.h>
+#include <lttng/kernel-version.h>
 
 #if (defined(CONFIG_KALLSYMS) \
        && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2)        \
@@ -52,6 +52,7 @@ int wrapper_get_pfnblock_flags_mask_init(void)
                return -1;
        return 0;
 }
+EXPORT_SYMBOL_GPL(wrapper_get_pfnblock_flags_mask_init);
 
 #else
 
@@ -94,6 +95,7 @@ int wrapper_get_pageblock_flags_mask_init(void)
                return -1;
        return 0;
 }
+EXPORT_SYMBOL_GPL(wrapper_get_pfnblock_flags_mask_init);
 
 #else
 
This page took 0.02473 seconds and 4 git commands to generate.