summaryrefslogtreecommitdiffstats
path: root/arch/arc
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-01-10 14:13:29 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2017-01-26 10:58:15 -0500
commit9ce6dbe8ea42ddf3ce8e6d0d2fa3b5d73448314e (patch)
tree36da24a4ca632c057c412df6524a31b4d5715730 /arch/arc
parent7e227e88187f871fcdc1e69cd7b56fd9a5a41ca5 (diff)
downloadlinux-9ce6dbe8ea42ddf3ce8e6d0d2fa3b5d73448314e.tar.bz2
arc: migrate exception table users off module.h and onto extable.h
This file was 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 this file. Since the file does have some EXPORT_SYMBOL, we add export.h include. Cc: Vineet Gupta <vgupta@synopsys.com> Acked-by: Vineet Gupta <vgupta@synopsys.com> Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/arc')
-rw-r--r--arch/arc/mm/extable.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arc/mm/extable.c b/arch/arc/mm/extable.c
index aa652e281324..c86906b41bfe 100644
--- a/arch/arc/mm/extable.c
+++ b/arch/arc/mm/extable.c
@@ -8,7 +8,8 @@
* Borrowed heavily from MIPS
*/
-#include <linux/module.h>
+#include <linux/export.h>
+#include <linux/extable.h>
#include <linux/uaccess.h>
int fixup_exception(struct pt_regs *regs)