Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1240130

[PATCH RT 4/4] work-simple: Add missing #include <linux/export.h>

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.kernel
Subject [PATCH RT 4/4] work-simple: Add missing #include <linux/export.h>
Date 2015-10-06 05:00 +0200
Message-ID <qgqDT-1vF-5@gated-at.bofh.it> (permalink)
References <qgqud-1kk-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

work-simple.c uses EXPORT_SYMBOL_GPL(), defined in <linux/export.h>.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable-rt@vger.kernel.org
---
 kernel/work-simple.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/work-simple.c b/kernel/work-simple.c
index c996f75..e57a052 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)
 
-- 
Ben Hutchings
All the simple programs have been written, and all the good names taken.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RT 0/4] Warning fixes for PREEMPT_RT Ben Hutchings <ben@decadent.org.uk> - 2015-10-06 04:50 +0200
  [PATCH RT 2/4] rtmutex: Fix rt_mutex_timed_fastlock() slowfn type  mismatch up to 3.10 Ben Hutchings <ben@decadent.org.uk> - 2015-10-06 05:00 +0200
  [PATCH RT 1/4] KVM: lapic: Fix name of timer handler before 3.7 Ben Hutchings <ben@decadent.org.uk> - 2015-10-06 05:00 +0200
  [PATCH RT 4/4] work-simple: Add missing #include <linux/export.h> Ben Hutchings <ben@decadent.org.uk> - 2015-10-06 05:00 +0200
  [PATCH RT 3/4] genirq: Fix pointer cast warning for randomness on  32-bit architectures Ben Hutchings <ben@decadent.org.uk> - 2015-10-06 05:00 +0200

csiph-web