summaryrefslogtreecommitdiffstats
path: root/lib/syscall.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-17 03:29:17 +0100
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-03-07 21:04:04 +0100
commit8bc3bcc93a2b4e47d5d410146f6546bca6171663 (patch)
tree101f55a96f751749041c90c32ef1ba89f94dc4d1 /lib/syscall.c
parentfs: reduce the use of module.h wherever possible (diff)
downloadlinux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.tar.xz
linux-8bc3bcc93a2b4e47d5d410146f6546bca6171663.zip
lib: reduce the use of module.h wherever possible
For files only using THIS_MODULE and/or EXPORT_SYMBOL, map them onto including export.h -- or if the file isn't even using those, then just delete the include. Fix up any implicit include dependencies that were being masked by module.h along the way. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'lib/syscall.c')
-rw-r--r--lib/syscall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syscall.c b/lib/syscall.c
index a4f7067f72fa..58710eefeac8 100644
--- a/lib/syscall.c
+++ b/lib/syscall.c
@@ -1,6 +1,6 @@
#include <linux/ptrace.h>
#include <linux/sched.h>
-#include <linux/module.h>
+#include <linux/export.h>
#include <asm/syscall.h>
static int collect_syscall(struct task_struct *target, long *callno,