summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-22 20:24:04 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:30:44 +0100
commitead53f22dc646d91a1b6201b9f44dd47d7d88c34 (patch)
tree75bc1a7120d3f10788580f41593822bf72a8a0c5 /arch/powerpc/kernel/ptrace.c
parentpowerpc: various straight conversions from module.h --> export.h (diff)
downloadlinux-ead53f22dc646d91a1b6201b9f44dd47d7d88c34.tar.xz
linux-ead53f22dc646d91a1b6201b9f44dd47d7d88c34.zip
powerpc: remove non-required uses of include <linux/module.h>
None of the files touched here are modules, and they are not exporting any symbols either -- so there is no need to be including the module.h. Builds of all the files remains successful. Even kernel/module.c does not need to include it, since it includes linux/moduleloader.h instead. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
-rw-r--r--arch/powerpc/kernel/ptrace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c
index 05b7dd217f60..9aec4bb1a551 100644
--- a/arch/powerpc/kernel/ptrace.c
+++ b/arch/powerpc/kernel/ptrace.c
@@ -30,9 +30,6 @@
#include <linux/seccomp.h>
#include <linux/audit.h>
#include <trace/syscall.h>
-#ifdef CONFIG_PPC32
-#include <linux/module.h>
-#endif
#include <linux/hw_breakpoint.h>
#include <linux/perf_event.h>