From 675f8988f3e11be1da90a769633b1dab0d3d4929 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 4 Apr 2016 15:57:24 -0400 Subject: [PATCH] Fix: kmem instrumentation: remove unused gfpflags.h include This header disappears in kernel 4.6, but we don't actually use it, so remove its include. Signed-off-by: Mathieu Desnoyers --- instrumentation/events/lttng-module/kmem.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/instrumentation/events/lttng-module/kmem.h b/instrumentation/events/lttng-module/kmem.h index 14deea18..a195148d 100644 --- a/instrumentation/events/lttng-module/kmem.h +++ b/instrumentation/events/lttng-module/kmem.h @@ -7,9 +7,6 @@ #include "../../../probes/lttng-tracepoint-event.h" #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) -#include -#endif LTTNG_TRACEPOINT_EVENT_CLASS(kmem_alloc, -- 2.34.1