X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fpage_alloc.c;h=93504c993883244cb692ab192abef040148737d6;hb=2df37e95fa4303ecc0db41334452665491533641;hp=baa8603f2898bc58de87393fad666f8d4ce0dace;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/wrapper/page_alloc.c b/wrapper/page_alloc.c index baa8603f..93504c99 100644 --- a/wrapper/page_alloc.c +++ b/wrapper/page_alloc.c @@ -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 */ -#include +#include #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