diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-07-23 14:01:45 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2017-01-24 12:41:47 -0500 |
commit | d92280d1328fe1e32a1c806c145427a2582c8fce (patch) | |
tree | f8af8f45fd3a4fcbd6d42942e3fa9bac582e7a7e /arch/sh/kernel/traps.c | |
parent | 6cc306ea5cda3bf75c590140703c792a7cfe1be6 (diff) | |
download | linux-d92280d1328fe1e32a1c806c145427a2582c8fce.tar.gz linux-d92280d1328fe1e32a1c806c145427a2582c8fce.tar.bz2 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/traps.c')
-rw-r--r-- | arch/sh/kernel/traps.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index dfdad72c61ca..9513fa7840aa 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -8,7 +8,8 @@ #include <linux/hardirq.h> #include <linux/kernel.h> #include <linux/kexec.h> -#include <linux/module.h> +#include <linux/extable.h> +#include <linux/module.h> /* print_modules */ #include <asm/unwinder.h> #include <asm/traps.h> |