X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.c;fp=lttng-events.c;h=c4de34f6bb0935b0466be223b00a44f20db220c7;hb=66861b2e35992cbbab6ac1b52127bb4fb96ed3b6;hp=e377deb9b4523ea7dfc24169f276f63ecb3b5165;hpb=b02a8b73f7702849eb2ac5f2e567212e040bad07;p=lttng-modules.git diff --git a/lttng-events.c b/lttng-events.c index e377deb9..c4de34f6 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 @@ -1282,7 +1288,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_tracepoint_init(); if (ret) return ret;