]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kernel: Fix files explicitly needing EXPORT_SYMBOL infrastructure
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 26 May 2011 20:00:52 +0000 (16:00 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 05:43:45 +0000 (01:43 -0400)
These files were getting <linux/module.h> via a twisted and tormented
path, but we want to crush those out of existence since they cost
time during compiles of processing thousands of lines of headers
for no reason.  Give them the lightweight header that just contains
the EXPORT_SYMBOL infrastructure.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/compat.c
kernel/debug/kdb/kdb_debugger.c
kernel/events/core.c
kernel/power/hibernate.c
kernel/power/main.c
kernel/power/suspend.c
kernel/time/posix-clock.c
kernel/trace/blktrace.c

index e2435ee9993a329bee48252a38af4ca69e6c4742..f346cedfe24d1ce2a0a4c803e9adeca62534c017 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/unistd.h>
 #include <linux/security.h>
 #include <linux/timex.h>
+#include <linux/export.h>
 #include <linux/migrate.h>
 #include <linux/posix-timers.h>
 #include <linux/times.h>
index dd0b1b7dd02c9bb5d8d32b84c39f0a62a4db9c56..8427a79cea9f168c9fa1762d339e158d200953f5 100644 (file)
@@ -11,6 +11,7 @@
 #include <linux/kgdb.h>
 #include <linux/kdb.h>
 #include <linux/kdebug.h>
+#include <linux/export.h>
 #include "kdb_private.h"
 #include "../debug_core.h"
 
index b8785e26ee1cd28c33a1c0429a49bb515c34c8d2..5a0eeda4ad9e699d9091508b891476238e0490b8 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/reboot.h>
 #include <linux/vmstat.h>
 #include <linux/device.h>
+#include <linux/export.h>
 #include <linux/vmalloc.h>
 #include <linux/hardirq.h>
 #include <linux/rculist.h>
index 8f7b1db1ece1b3273f9eebbc128d7c884390c638..ce21f2580cc339c956d541e54860bc10fe9ba9ac 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/reboot.h>
 #include <linux/string.h>
 #include <linux/device.h>
+#include <linux/export.h>
 #include <linux/kmod.h>
 #include <linux/delay.h>
 #include <linux/fs.h>
index 6c601f871964408e7df2b376dd69d86006103b0e..a8110074011995960859c4d1ef6ee7dd93e8cb82 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/string.h>
 #include <linux/resume-trace.h>
 #include <linux/workqueue.h>
+#include <linux/export.h>
 
 #include "power.h"
 
index a2928c4574df3b9f261e9a9c2729afec23e6724f..76ce0510253de41b4611f526417feefa5e0f122f 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/list.h>
 #include <linux/mm.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <linux/suspend.h>
 #include <linux/syscore_ops.h>
 #include <trace/events/power.h>
index c340ca658f37a0c09726a31a6f126f18c9380355..ce033c7aa2e8f8a179ae4a031c176e1a358a100d 100644 (file)
@@ -18,6 +18,7 @@
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 #include <linux/device.h>
+#include <linux/export.h>
 #include <linux/file.h>
 #include <linux/posix-clock.h>
 #include <linux/slab.h>
index 6957aa298dfa45581b45832b7251a2ee4029000e..c1ff08239b75a2ede5438aaddd034f491f800e1f 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/mutex.h>
 #include <linux/slab.h>
 #include <linux/debugfs.h>
+#include <linux/export.h>
 #include <linux/time.h>
 #include <linux/uaccess.h>