lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* [PATCH lttng-modules] Add missing include for kernels between 3.8 and 3.15
@ 2019-10-28 20:28 Michael Jeanson
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Jeanson @ 2019-10-28 20:28 UTC (permalink / raw)
  To: lttng-dev

This is required at least for:
 v3.13.x
 v3.11.x
 v3.9.x
 v3.8.x

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
---
 lttng-context-mnt-ns.c | 1 +
 lttng-context-net-ns.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/lttng-context-mnt-ns.c b/lttng-context-mnt-ns.c
index 98d5b8e..b5bb955 100644
--- a/lttng-context-mnt-ns.c
+++ b/lttng-context-mnt-ns.c
@@ -13,6 +13,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <lttng-events.h>
+#include <linux/nsproxy.h>
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/vmalloc.h>
 #include <wrapper/namespace.h>
diff --git a/lttng-context-net-ns.c b/lttng-context-net-ns.c
index 24d7ae3..6694037 100644
--- a/lttng-context-net-ns.c
+++ b/lttng-context-net-ns.c
@@ -12,6 +12,7 @@
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
+#include <linux/nsproxy.h>
 #include <net/net_namespace.h>
 #include <lttng-events.h>
 #include <wrapper/ringbuffer/frontend_types.h>
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread
[parent not found: <20191028202843.17852-1-mjeanson@efficios.com>]

end of thread, other threads:[~2019-10-28 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 20:28 [PATCH lttng-modules] Add missing include for kernels between 3.8 and 3.15 Michael Jeanson
     [not found] <20191028202843.17852-1-mjeanson@efficios.com>
2019-10-28 20:35 ` Mathieu Desnoyers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).