X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fpage_alloc.c;h=cd7ab2d13575d3ec7d656cccb30c589ed6d092d0;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=a26f136f036af7d562b6c8057ca021dec17ef9c4;hpb=397c12b422ce844037885f5c35d824dd5ae4fec6;p=lttng-modules.git diff --git a/wrapper/page_alloc.c b/wrapper/page_alloc.c index a26f136f..cd7ab2d1 100644 --- a/wrapper/page_alloc.c +++ b/wrapper/page_alloc.c @@ -23,10 +23,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "../lttng-kernel-version.h" +#include #if (defined(CONFIG_KALLSYMS) \ - && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2) \ + && (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,19,2) \ || LTTNG_KERNEL_RANGE(3,14,36, 3,15,0) \ || LTTNG_KERNEL_RANGE(3,18,10, 3,19,0) \ || LTTNG_DEBIAN_KERNEL_RANGE(3,16,7,9,0,0, 3,17,0,0,0,0) \ @@ -35,8 +35,8 @@ #include #include #include -#include "kallsyms.h" -#include "page_alloc.h" +#include +#include static unsigned long (*get_pfnblock_flags_mask_sym)(struct page *page, @@ -79,8 +79,8 @@ int wrapper_get_pfnblock_flags_mask_init(void) #include #include #include -#include "kallsyms.h" -#include "page_alloc.h" +#include +#include static unsigned long (*get_pageblock_flags_mask_sym)(struct page *page,