Fix: kmem: add mm.h include
[lttng-modules.git] / probes / lttng-probe-kmem.c
index c8252ec0514de99be69e499601c916bbfdaf3b74..350d91731ebad8d4ce0b53008b8b77ba0e11f07e 100644 (file)
  * 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 <linux/module.h>
+#include <linux/mm.h>
 #include "../lttng-tracer.h"
 
 /*
This page took 0.022689 seconds and 4 git commands to generate.