[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160930090504.GX10601@decadent.org.uk>
Date: Fri, 30 Sep 2016 10:05:05 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org, stable-rt@...r.kernel.org
Subject: [PATCH RT 2/2] work-simple: Add missing #include <linux/export.h>
work-simple.c uses EXPORT_SYMBOL_GPL(), defined in <linux/export.h>.
Signed-off-by: Ben Hutchings <ben@...adent.org.uk>
Cc: stable-rt@...r.kernel.org # 3.2
---
I'm not sure there's any need for these exports so the correct fix
might be to remove them.
Ben.
kernel/work-simple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/work-simple.c b/kernel/work-simple.c
index c996f755dba6..e57a0522573f 100644
--- a/kernel/work-simple.c
+++ b/kernel/work-simple.c
@@ -10,6 +10,7 @@
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
+#include <linux/export.h>
#define SWORK_EVENT_PENDING (1 << 0)
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists