X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-events.c;h=053f125fa313a56d048fc5c0cd4c5ccff8e6526a;hp=65bd0bf9ae6d45c4bbc0395d63211e9642330a59;hb=389d70703bbd804c4f000d89ef2efbe169c6028f;hpb=021153c017dd6cb9dc5ec5fe74fadd6536f1327d diff --git a/lttng-events.c b/lttng-events.c index 65bd0bf9..053f125f 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -20,6 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +/* + * This page_alloc.h wrapper needs to be included before gfpflags.h because it + * overrides a function with a define. + */ +#include "wrapper/page_alloc.h" + #include #include #include @@ -2115,7 +2121,9 @@ static int __init lttng_events_init(void) ret = wrapper_lttng_fixup_sig(THIS_MODULE); if (ret) return ret; - + ret = wrapper_get_pfnblock_flags_mask_init(); + if (ret) + return ret; ret = lttng_context_init(); if (ret) return ret;