diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-07-23 20:01:45 +0200 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2017-01-24 18:41:47 +0100 |
commit | d92280d1328fe1e32a1c806c145427a2582c8fce (patch) | |
tree | f8af8f45fd3a4fcbd6d42942e3fa9bac582e7a7e /arch/sh/kernel/kprobes.c | |
parent | xtensa: migrate exception table users off module.h and onto extable.h (diff) | |
download | linux-d92280d1328fe1e32a1c806c145427a2582c8fce.tar.xz linux-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 'arch/sh/kernel/kprobes.c')
-rw-r--r-- | arch/sh/kernel/kprobes.c | 2 |
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> |