aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/kprobes.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-07-23 14:01:45 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2017-01-24 12:41:47 -0500
commitd92280d1328fe1e32a1c806c145427a2582c8fce (patch)
treef8af8f45fd3a4fcbd6d42942e3fa9bac582e7a7e /arch/sh/kernel/kprobes.c
parentxtensa: migrate exception table users off module.h and onto extable.h (diff)
downloadlinux-dev-d92280d1328fe1e32a1c806c145427a2582c8fce.tar.xz
linux-dev-d92280d1328fe1e32a1c806c145427a2582c8fce.zip
sh: migrate exception table users off module.h and onto extable.h
These files were only including module.h for exception table related functions. We've now separated that content out into its own file "extable.h" so now move over to that and avoid all the extra header content in module.h that we don't really need to compile these files. One uses "print_modules" so that prevents us removing module.h in that case, however. We also delete a duplicate prototype that doesn't need to exist, as it duplicates content in extable.h Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Cc: Rich Felker <dalias@libc.org> Cc: linux-sh@vger.kernel.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to '')
-rw-r--r--arch/sh/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/kprobes.c b/arch/sh/kernel/kprobes.c
index 1653ff64b103..52a5e11247d1 100644
--- a/arch/sh/kernel/kprobes.c
+++ b/arch/sh/kernel/kprobes.c
@@ -9,7 +9,7 @@
* for more details.
*/
#include <linux/kprobes.h>
-#include <linux/module.h>
+#include <linux/extable.h>
#include <linux/ptrace.h>
#include <linux/preempt.h>
#include <linux/kdebug.h>